diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index de74fe3d..0704f115 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,6 +19,10 @@ jobs: # Install Rust toolchain - name: Install Rust toolchain run: rustup toolchain install nightly + + # Install rustfmt component for nightly toolchain + - name: Install rustfmt for nightly + run: rustup component add --toolchain nightly rustfmt # Lint with fmt using nightly toolchain - name: Lint with fmt