Update .woodpecker/ci.yml

This commit is contained in:
6543 2026-03-04 00:13:49 +01:00
parent c47579a536
commit 1f6e9d67da

View file

@ -6,8 +6,9 @@ when:
variables:
- &rust_env
CARGO_HOME: ${CI_WORKSPACE}/.cargo
PATH: ${CI_WORKSPACE}/.cargo/bin:$PATH
CARGO_TERM_COLOR: always
- &pre_cmds
- export PATH=${CI_WORKSPACE}/.cargo/bin:$PATH
steps:
setup:
@ -15,6 +16,7 @@ steps:
environment:
<<: *rust_env
commands:
- <<: *pre_cmds
- apt-get update && apt-get install -y coreutils
- rustup component add clippy rustfmt
# Install cargo-binstall into our local bin folder
@ -28,6 +30,7 @@ steps:
environment:
<<: *rust_env
commands:
- <<: *pre_cmds
- cargo make -p ci fmt-check
- cargo make -p ci clippy
- cargo make -p ci deny-check
@ -38,4 +41,5 @@ steps:
environment:
<<: *rust_env
commands:
- <<: *pre_cmds
- cargo make -p ci test