Compare commits
2 commits
8d506131ca
...
6227089a10
Author | SHA1 | Date | |
---|---|---|---|
6227089a10 | |||
9339958996 |
1 changed files with 8 additions and 9 deletions
|
@ -1,5 +1,4 @@
|
|||
steps:
|
||||
|
||||
update-builder-image:
|
||||
when:
|
||||
- event: cron
|
||||
|
@ -13,7 +12,7 @@ steps:
|
|||
registry: git.kemitix.net
|
||||
password:
|
||||
from_secret: woodpecker-docker-push
|
||||
|
||||
|
||||
todo_check:
|
||||
# INFO: https://woodpecker-ci.org/plugins/TODO-Checker
|
||||
image: codeberg.org/epsilon_02/todo-checker:1.1
|
||||
|
@ -22,8 +21,8 @@ steps:
|
|||
branch: [main, next]
|
||||
settings:
|
||||
# kxio-woodpecker-todo-checker - read:issue
|
||||
repository_token: '4acf14f93747e044aa2d1397367741b53f3d4f8f'
|
||||
prefix_regex: "(#|//) (TODO|FIXME): "
|
||||
repository_token: "4acf14f93747e044aa2d1397367741b53f3d4f8f"
|
||||
prefix_regex: "(#|//) (TODO|FIXME): "
|
||||
debug: false
|
||||
|
||||
lint_and_build:
|
||||
|
@ -37,9 +36,9 @@ steps:
|
|||
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
|
||||
- cargo build
|
||||
- cargo fmt --features "fs,network" --all -- --check
|
||||
- cargo clippy --features "fs,network" -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used
|
||||
- cargo build --features "fs,network"
|
||||
|
||||
test:
|
||||
when:
|
||||
|
@ -51,8 +50,8 @@ steps:
|
|||
environment:
|
||||
CARGO_TERM_COLOR: always
|
||||
commands:
|
||||
- cargo test
|
||||
|
||||
- cargo test --features "fs,network"
|
||||
|
||||
publish_to_crates_io:
|
||||
when:
|
||||
- event: tag
|
||||
|
|
Loading…
Reference in a new issue