Change Clippy CI to only run on main pushes or PRs
This commit is contained in:
parent
42f669dde9
commit
2dbbb9373b
|
@ -1,6 +1,12 @@
|
||||||
on: push
|
|
||||||
name: Clippy check
|
name: Clippy check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
|
||||||
# Make sure CI fails on all warnings, including Clippy lints
|
# Make sure CI fails on all warnings, including Clippy lints
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: "-Dwarnings"
|
RUSTFLAGS: "-Dwarnings"
|
||||||
|
|
Loading…
Reference in New Issue