build(woodpecker): restore dropped cargo build
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful

Also merge lint and build steps
This commit is contained in:
Paul Campbell 2024-04-10 07:24:38 +01:00
parent c66170c3b4
commit cd18dbe781

View file

@ -12,7 +12,7 @@ steps:
prefix_regex: "(#|//) (TODO|FIXME): "
debug: false
lint:
lint_and_build:
when:
- event: push
branch: next
@ -20,17 +20,9 @@ steps:
environment:
CARGO_TERM_COLOR: always
commands:
- ls -l /usr/local/cargo/bin/
- cargo fmt --all -- --check
- cargo clippy -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used
build:
when:
- event: push
branch: next
image: git.kemitix.net/kemitix/git-next-builder:latest
environment:
CARGO_TERM_COLOR: always
- cargo build
test:
when: