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