mirror of
https://codeberg.org/JasterV/event_bus.rs.git
synced 2026-04-26 18:10:02 +00:00
Update .woodpecker/ci.yml
This commit is contained in:
parent
c47579a536
commit
1f6e9d67da
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue