2024-04-07 16:03:28 +01:00
|
|
|
steps:
|
2024-04-10 07:08:39 +01:00
|
|
|
todo_check:
|
|
|
|
# INFO: https://woodpecker-ci.org/plugins/TODO-Checker
|
|
|
|
image: codeberg.org/epsilon_02/todo-checker:1.1
|
2024-04-07 17:27:05 +01:00
|
|
|
when:
|
|
|
|
- event: push
|
2024-04-10 07:08:39 +01:00
|
|
|
branch: next
|
|
|
|
settings:
|
|
|
|
# git-next-woodpecker-todo-checker - read:issue
|
2024-05-04 12:37:35 +01:00
|
|
|
repository_token: "776a3b928b852472c2af727a360c85c00af64b9f"
|
|
|
|
prefix_regex: "(#|//) (TODO|FIXME): "
|
2024-04-10 07:08:39 +01:00
|
|
|
debug: false
|
2024-04-07 17:27:05 +01:00
|
|
|
|
2024-04-10 07:24:38 +01:00
|
|
|
lint_and_build:
|
2024-04-07 17:27:05 +01:00
|
|
|
when:
|
|
|
|
- event: push
|
2024-04-10 07:08:39 +01:00
|
|
|
branch: 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 fmt --all -- --check
|
2024-05-04 12:37:35 +01:00
|
|
|
- cargo clippy -- -D warnings
|
2024-04-10 07:24:38 +01:00
|
|
|
- cargo build
|
2024-04-10 07:08:39 +01:00
|
|
|
|
2024-04-07 16:03:28 +01:00
|
|
|
test:
|
2024-04-07 17:27:05 +01:00
|
|
|
when:
|
|
|
|
- event: push
|
2024-04-10 07:08:39 +01:00
|
|
|
branch: 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
|