chore(ci): move clippy to build step
parent
c13b823682
commit
68ce684c77
|
@ -26,4 +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
|
||||||
|
# lot of work
|
||||||
|
- rustup component add clippy
|
||||||
|
- cargo clippy -- --no-deps -Dwarnings
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue