Compare commits

..

2 commits

Author SHA1 Message Date
6227089a10 build(woodpecker): enable fs and network for build and test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-04-28 11:34:42 +01:00
9339958996 build(woodpecker): whitespace 2024-04-28 11:34:19 +01:00

View file

@ -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