chore(ci): move clippy to build step
ci/woodpecker/push/lint Pipeline is pending Details
ci/woodpecker/push/build Pipeline failed Details

Jef Roosens 2024-07-07 13:04:13 +02:00
parent c13b823682
commit e624fda5d3
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 5 additions and 13 deletions

View File

@ -27,3 +27,8 @@ steps:
# Binaries, even debug ones, should be statically compiled
- '[ "$(readelf -d target/debug/rieterd | grep NEEDED | wc -l)" = 0 ]'
clippy:
image: 'rust:1.79-alpine3.19'
commands:
- rustup component add clippy
- cargo clippy -- --no-deps -Dwarnings

View File

@ -1,13 +0,0 @@
platform: 'linux/amd64'
when:
branch:
exclude: [main]
event: push
steps:
clippy:
image: 'rust:1.79-alpine3.19'
commands:
- rustup component add clippy
- cargo clippy -- --no-deps -Dwarnings