Compare commits

..

1 Commits

Author SHA1 Message Date
Jef Roosens 68ce684c77
chore(ci): move clippy to build step
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
2024-07-07 13:10:23 +02:00
1 changed files with 2 additions and 6 deletions

View File

@ -26,11 +26,7 @@ steps:
- cargo build --verbose - cargo build --verbose
# Binaries, even debug ones, should be statically compiled # Binaries, even debug ones, should be statically compiled
- '[ "$(readelf -d target/debug/rieterd | grep NEEDED | wc -l)" = 0 ]' - '[ "$(readelf -d target/debug/rieterd | grep NEEDED | wc -l)" = 0 ]'
# Clippy also performs a full build, so putting it here saves the CI a
clippy: # lot of work
image: 'rust:1.79-alpine3.19'
environment:
- 'LIBARCHIVE_STATIC=1'
commands:
- rustup component add clippy - rustup component add clippy
- cargo clippy -- --no-deps -Dwarnings - cargo clippy -- --no-deps -Dwarnings