Skip to content

Commit 10d8139

Browse files
committed
CI: run clippy for all packages and deny warnings
Now that all clippy warnings have been fixed, simply run clippy for all packages in the workspace. While we are at it, emit an error on clippy warnings, which were previously being allowed.
1 parent 494c57d commit 10d8139

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767

6868
clippy:
6969
runs-on: ubuntu-latest
70+
env:
71+
RUSTFLAGS: "-Dwarnings"
7072
steps:
7173
- uses: actions/checkout@v2
7274
with:
@@ -79,14 +81,8 @@ jobs:
7981
profile: minimal
8082
components: clippy
8183

82-
- name: Run clippy (ACPI)
83-
run: cargo clippy -p acpi
84-
85-
- name: Run clippy (ACPI tests)
86-
run: cargo clippy -p acpi --tests
87-
88-
- name: Run clippy (AML)
89-
run: cargo clippy -p aml
84+
- name: Run clippy
85+
run: cargo clippy --all
9086

91-
- name: Run clippy (AML tests)
92-
run: cargo clippy -p aml --tests
87+
- name: Run clippy (tests)
88+
run: cargo clippy --all --tests

0 commit comments

Comments
 (0)