aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2023-02-08 22:09:44 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:35:18 +0100
commitd248dddf7ba93fde5b1212825a94ec856b9ad1d3 (patch)
tree6e57b9ac77b2e164420bf7f837a6aead51d87553
parent10a896ab9b0089a5ff9af4870488a6c604887cc0 (diff)
CI: Make clippy fail on error
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9584ef7..36402a1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -178,7 +178,7 @@ jobs:
run: rustup component add clippy
- 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
uses: Swatinem/rust-cache@v2