Skip to content

Commit 5992e60

Browse files
committed
Add Clippy to CI
1 parent 057f6c2 commit 5992e60

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yml

+10
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,13 @@ jobs:
7272
uses: taiki-e/install-action@cargo-hack
7373
- name: Run check
7474
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}
75+
76+
Clippy:
77+
name: Clippy
78+
runs-on: ubuntu-latest
79+
steps:
80+
- uses: actions/checkout@master
81+
- name: Install Rust
82+
run: rustup update stable && rustup default stable && rustup component add clippy
83+
- name: Run Clippy
84+
run: cargo clippy --all-targets --all-features -- -D warnings

0 commit comments

Comments
 (0)