CI: Make clippy fail on error

This commit is contained in:
Henrik Tjäder 2023-02-08 22:09:44 +01:00
parent 10a896ab9b
commit d248dddf7b

View file

@ -178,7 +178,7 @@ jobs:
run: rustup component add clippy run: rustup component add clippy
- name: Fail on warnings - 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 - name: Cache Dependencies
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2