build(woodpecker): restore dropped cargo build
Also merge lint and build steps
This commit is contained in:
parent
c66170c3b4
commit
cd18dbe781
1 changed files with 2 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue