Skip to content

Commit

Permalink
ci: 💚 only fail clippy for warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nstringham committed Sep 7, 2024
1 parent 3258ca6 commit 0413c58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
- workflow_dispatch

env:
CARGO_TERM_COLOR: always # Display colors in the terminal
RUSTFLAGS: "-Dwarnings" # Make sure CI fails on all warnings, including Clippy lints
CARGO_TERM_COLOR: always

jobs:
check:
Expand Down Expand Up @@ -35,4 +34,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Lint code
run: cargo clippy
run: cargo clippy -- -D warnings

0 comments on commit 0413c58

Please sign in to comment.