Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit d31b579

Browse files
committed
CI: Enable clippy
To keep the codebase nice and clean we can run `clippy` as part of the CI pipeline. Enable `clippy` in a CI job.
1 parent 1433fd7 commit d31b579

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/rust.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,22 @@ jobs:
3434
DO_DOCS: true
3535
run: ./contrib/test.sh
3636

37+
Clippy:
38+
name: Clippy
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v2
42+
- uses: actions-rs/toolchain@v1
43+
with:
44+
profile: minimal
45+
toolchain: stable
46+
override: true
47+
- run: rustup component add clippy
48+
- uses: actions-rs/cargo@v1
49+
with:
50+
command: clippy
51+
args: --all-features -- -D warnings
52+
3753
wasm:
3854
name: Stable - WebAssembly Build
3955
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)