Skip to content

Commit

Permalink
ci: allow clippy to run on modified code when linting
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Dec 13, 2024
1 parent 1761b73 commit f174f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
run: cargo-sort --workspace --check --check-format

- name: Run cargo clippy (no features)
run: cargo clippy --workspace --no-default-features --fix -- -D warnings
run: cargo clippy --workspace --no-default-features --allow-dirty --fix -- -D warnings

- name: Run cargo clippy (all features)
run: cargo clippy --workspace --all-features --fix -- -D warnings
run: cargo clippy --workspace --all-features --allow-dirty --fix -- -D warnings

- name: Run cargo doc
run: cargo doc --no-deps --workspace
Expand Down

0 comments on commit f174f26

Please sign in to comment.