mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +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
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Fail on warnings
|
- name: Fail on warnings
|
||||||
working-directory: ./rtic
|
run: find . -type f -name lib.rs -execdir sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' {} +
|
||||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
|
||||||
|
|
||||||
- name: cargo xtask format-check
|
- name: cargo xtask format-check
|
||||||
run: cargo xtask format-check
|
run: cargo xtask format-check
|
||||||
|
|
Loading…
Reference in a new issue