mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
CI: Fail on any warning in any local crate
This commit is contained in:
parent
3e8a36ae2a
commit
60bd09117d
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -22,8 +22,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Fail on warnings
|
||||
working-directory: ./rtic
|
||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
||||
run: find . -type f -name lib.rs -execdir sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' {} +
|
||||
|
||||
- name: cargo xtask format-check
|
||||
run: cargo xtask format-check
|
||||
|
|
Loading…
Reference in a new issue