diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0cb7f762da276ca36554093a903dcd334384901e..712d4b16727a8097ae598d67150cee5cbf630940 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -27,7 +27,7 @@ jobs:
           rustup component add clippy
       - run: rustc --version
       - run: cargo fmt --all -- --check
-      - run: cargo clippy
+      - run: cargo clippy -- -D warnings
       - run: cargo build
       - run: cargo build --release
   build-wasm:
@@ -53,7 +53,7 @@ jobs:
           rustup component add clippy
       - run: rustc --version
       - run: cargo fmt --all -- --check
-      - run: cargo clippy
+      - run: cargo clippy -- -D warnings
       - run: cargo install wasm-pack
       - run: wasm-pack build --release --target=web --out-dir=frontends/web/lib -- --features wasm
       - run: apt-get update && apt-get install -y -q nodejs npm