Skip to content

Commit

Permalink
Update CI workflow to treat warnings as errors
Browse files Browse the repository at this point in the history
The CI workflow configuration has been changed to treat warnings as errors in order to maintain a strict coding standard. We do this by adding `-D warnings` to the `cargo clippy` command. This change will help to prevent any future code with warnings from being merged.
  • Loading branch information
nakashima-hikaru committed Jun 11, 2024
1 parent d0ec29a commit 2f4f900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- run: cargo fmt --all --check
- run: cargo check --workspace
- run: cargo clippy --all-targets --all-features
- run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo nextest run -E 'all() - package(calendar)'

0 comments on commit 2f4f900

Please sign in to comment.