Change Clippy CI to only run on main pushes or PRs
This commit is contained in:
parent
4fd3e3464a
commit
b837508f41
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue