Skip to content

Commit

Permalink
add clippy to lint github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-northlander committed Jun 3, 2024
1 parent b7c399d commit 7872b40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust-lint-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ env:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Rustfmt
run: cargo fmt -- --check --files-with-diff
run: cargo fmt -- --check
- name: Run Clippy
run: cargo clippy --all-targets --all-features
env:
RUSTFLAGS: "-Dwarnings" # fail on warning

0 comments on commit 7872b40

Please sign in to comment.