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 a1886c9 commit 4306a1cCopy full SHA for 4306a1c
.github/workflows/test.yml
@@ -50,8 +50,14 @@ jobs:
50
with:
51
toolchain: ${{ matrix.rust }}
52
override: true
53
- # NOTE: We only run `cargo test`. No need for a seperate `cargo check`
+ - name: Check
54
+ run: |
55
+ cargo check --verbose --features "${{ matrix.features }}"
56
+ # A failing `cargo check` always fails the build
57
+ continue-on-error: false
58
+ # NOTE: We only run `cargo test` if version > MSRV. Tests break on old MSRV due to
59
+ # a dev-dependency.
60
- name: Test
61
run: |
62
cargo test --verbose --features "${{ matrix.features }}"
-
63
+ if: "${{ matrix.rust == 'stable' || matrix.rust == 'nightly' }}"
0 commit comments