CI: Switch leftover action to dtolnay/rust-toolchain
Browse files at this commit73be5b2ba1a95e6c9e0a9f856dcc4cde2157fbebParent: af904d21 changed file +3 -5
- .github/workflows/ci.yml +3 -5
.github/workflows/ci.ymlmodified+3 -5
| @@ -153,11 +153,9 @@ jobs: | |||
| 153 | with: | 153 | with: |
| 154 | show-progress: false | 154 | show-progress: false |
| 155 | 155 | ||
| 156 | - - name: Install Rust | 156 | + - uses: dtolnay/rust-toolchain@nightly |
| 157 | - run: | | 157 | + with: |
| 158 | - rustup set auto-self-update check-only | 158 | + components: rustfmt |
| 159 | - rustup toolchain install nightly --profile minimal --component rustfmt | ||
| 160 | - rustup override set nightly | ||
| 161 | 159 | ||
| 162 | - name: Run rustfmt | 160 | - name: Run rustfmt |
| 163 | run: cargo fmt --all -- --check | 161 | run: cargo fmt --all -- --check |