diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 658fd89ff0..0c3c1df1d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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