File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424 - uses : Swatinem/rust-cache@v2
2525
26+ - uses : taiki-e/install-action@cargo-hack
27+
2628 # Build first — catches template include_str! failures and compile errors
2729 # before running the slower test step.
2830 - name : Build
@@ -31,15 +33,18 @@ jobs:
3133 - name : Check formatting
3234 run : cargo fmt --check
3335
34- - name : Clippy
36+ - name : Run clippy
3537 run : cargo clippy --all-targets -- -D warnings
3638
37- - name : Audit
39+ - name : Cargo audit
3840 uses : rustsec/audit-check@858dc40f52ca2b8570b7a997c1c4e35c6fc9a432
3941 with :
4042 token : ${{ secrets.GITHUB_TOKEN }}
4143
4244 # Integration tests invoke the binary and compile the generated C.
4345 # gcc is pre-installed on ubuntu-latest.
44- - name : Test
46+ - name : Run test suite
4547 run : cargo test --release
48+
49+ - name : Check Rust version compatibility
50+ run : cargo hack check --rust-version --all-targets
You can’t perform that action at this time.
0 commit comments