mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-24 19:09:33 +01:00
CI: Make clippy fail on error
This commit is contained in:
parent
10a896ab9b
commit
d248dddf7b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -178,7 +178,7 @@ jobs:
|
|||
run: rustup component add clippy
|
||||
|
||||
- name: Fail on warnings
|
||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' ${{ matrix.package }}/src/lib.rs
|
||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)]\n#![deny(clippy::all)],' ${{ matrix.package }}/src/lib.rs
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
|
Loading…
Reference in a new issue