git-next/.woodpecker/build.yml
Paul Campbell 0b5c91fedb
All checks were successful
ci/woodpecker/push/builder Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline was successful
ci/woodpecker/cron/builder Pipeline was successful
build(woodpecker): split updating docker builder into seperate job
Closes kemitix/git-next#7
2024-04-09 22:19:34 +01:00

31 lines
752 B
YAML

steps:
build:
when:
- event: push
branch: [main, next]
image: git.kemitix.net/kemitix/git-next-builder:latest
environment:
CARGO_TERM_COLOR: always
lint:
when:
- event: push
branch: [main, next]
image: git.kemitix.net/kemitix/git-next-builder:latest
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
test:
when:
- event: push
branch: [main, next]
image: git.kemitix.net/kemitix/git-next-builder:latest
environment:
CARGO_TERM_COLOR: always
commands:
- cargo test