From 2e233180c60f332beb558169b604612fba16c500 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 4 Mar 2026 00:16:50 +0100 Subject: [PATCH] Fix CI config (#1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit by moving the PATH re-declaration into the runtime Reviewed-on: https://codeberg.org/JasterV/event_bus.rs/pulls/1 Reviewed-by: Victor Martinez Montané Co-authored-by: 6543 <6543@obermui.de> Co-committed-by: 6543 <6543@obermui.de> --- .woodpecker/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index de40885..4496697 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -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