Skip to content

Commit

Permalink
Enable pedantic clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
boustrophedon committed Feb 27, 2022
1 parent 3958986 commit dc0b13b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# - name: Run cargo fmt
# run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --all-targets --all-features -- --deny warnings
run: ./clippy.sh
test:
name: Unit Tests
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions clippy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
cargo clippy --all-targets --all-features -- -W clippy::pedantic \
-A clippy::let-unit-value \
-A clippy::wildcard-imports \
-A clippy::module-name-repetitions

0 comments on commit dc0b13b

Please sign in to comment.