build(woodpecker): restore missing cargo build command
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Merge build and lint steps
This commit is contained in:
parent
281271a82d
commit
fac1b38828
1 changed files with 2 additions and 11 deletions
|
@ -26,17 +26,7 @@ steps:
|
|||
prefix_regex: "(#|//) (TODO|FIXME): "
|
||||
debug: false
|
||||
|
||||
build:
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
- event: tag
|
||||
ref: refs/tags/v*
|
||||
image: git.kemitix.net/kemitix/kxio-builder:latest
|
||||
environment:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
lint:
|
||||
lint_and_build:
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
|
@ -49,6 +39,7 @@ steps:
|
|||
- 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
|
||||
- cargo build
|
||||
|
||||
test:
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue