We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0ab1c commit 89b52b0Copy full SHA for 89b52b0
1 file changed
.github/workflows/style_check.yml
@@ -5,11 +5,20 @@ jobs:
5
header_check:
6
runs-on: ubuntu-latest
7
name: Check code style
8
+ env:
9
+ # Deny warnings in cargo clippy:
10
+ RUSTFLAGS: -D warnings
11
steps:
12
- uses: actions/checkout@v4
- - name: Rust lints using Clippy
13
+ - name: Rust lints using Clippy (debug)
14
working-directory: gc/mmtk
15
run: cargo clippy
16
+ - name: Rust lints using Clippy (tests)
17
+ working-directory: gc/mmtk
18
+ run: cargo clippy --tests
19
+ - name: Rust lints using Clippy (release)
20
21
+ run: cargo clippy --release
22
- name: Rust code format check
23
24
run: cargo fmt --check
0 commit comments