diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index d190465..ba12407 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -1,6 +1,12 @@ -on: push name: Clippy check +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Make sure CI fails on all warnings, including Clippy lints env: RUSTFLAGS: "-Dwarnings"