CI: Fail on any warning in any local crate

This commit is contained in:
Henrik Tjäder 2023-02-24 00:36:12 +01:00
parent 3e8a36ae2a
commit 60bd09117d

View file

@ -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