git-next/.woodpecker/build.yml

32 lines
752 B
YAML
Raw Normal View History

2024-04-07 16:03:28 +01:00
steps:
2024-04-07 16:03:28 +01:00
build:
when:
- event: push
branch: [main, next]
2024-04-07 16:03:28 +01:00
image: git.kemitix.net/kemitix/git-next-builder:latest
environment:
CARGO_TERM_COLOR: always
2024-04-07 16:03:28 +01:00
lint:
when:
- event: push
branch: [main, next]
2024-04-07 16:03:28 +01:00
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
2024-04-07 16:03:28 +01:00
test:
when:
- event: push
branch: [main, next]
2024-04-07 16:03:28 +01:00
image: git.kemitix.net/kemitix/git-next-builder:latest
environment:
CARGO_TERM_COLOR: always
commands:
- cargo test