Skip to content

Commit 89b52b0

Browse files
committed
Deny warnings
1 parent eb0ab1c commit 89b52b0

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/style_check.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,20 @@ jobs:
55
header_check:
66
runs-on: ubuntu-latest
77
name: Check code style
8+
env:
9+
# Deny warnings in cargo clippy:
10+
RUSTFLAGS: -D warnings
811
steps:
912
- uses: actions/checkout@v4
10-
- name: Rust lints using Clippy
13+
- name: Rust lints using Clippy (debug)
1114
working-directory: gc/mmtk
1215
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+
working-directory: gc/mmtk
21+
run: cargo clippy --release
1322
- name: Rust code format check
1423
working-directory: gc/mmtk
1524
run: cargo fmt --check

0 commit comments

Comments
 (0)