We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f7519 commit 583f2f4Copy full SHA for 583f2f4
.github/workflows/ci.yml
@@ -27,12 +27,11 @@ jobs:
27
- uses: dtolnay/rust-toolchain@master
28
with:
29
toolchain: ${{ matrix.rust }}
30
- - run: rustup component add rustfmt-preview
31
- - name: cargo fmt --all -- --check if stable
+ - name: cargo fmt --all -- --check
32
run: |
33
- if [ "${{ matrix.rust }}" = "stable" ]; then
34
- cargo fmt --all -- --check
35
- fi
+ rustup component add rustfmt-preview
+ cargo fmt --all -- --check
+ if: matrix.rust == 'stable'
36
- run: |
37
cargo build --verbose
38
0 commit comments