Skip to content

Commit

Permalink
Treat Rust warnings as errors in code quality workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-va committed Nov 20, 2024
1 parent bc3e9b0 commit c40a5d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ jobs:
cd api
cargo fmt --check
- name: Run clippy
env:
# Treat warnings as errors
RUSTFLAGS: "-D warnings"
run: |
cd api
cargo clippy --frozen --quiet
Expand Down

0 comments on commit c40a5d1

Please sign in to comment.