From 23988477a20cbe20c2b15cb5765da0ac6dad244a Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Wed, 17 Sep 2025 16:34:00 +0200 Subject: [PATCH] chore: Fix `cargo build` command, there is no `-P` switch, only `--profile` --- .woodpecker/build_and_test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker/build_and_test.yaml b/.woodpecker/build_and_test.yaml index 399acca..f60b542 100644 --- a/.woodpecker/build_and_test.yaml +++ b/.woodpecker/build_and_test.yaml @@ -22,7 +22,7 @@ steps: CARGO_TERM_COLOR: always commands: - rustup default "$CHANNEL" - - cargo build -P "$PROFILE" -j4 -p topola-cli --no-default-features --features "$FEATURES" -- + - cargo build -j4 --profile "$PROFILE" -p topola-cli --no-default-features --features "$FEATURES" -- when: event: [pull_request, push, tag] @@ -37,7 +37,7 @@ steps: - curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash - cargo binstall --no-confirm cargo-nextest - rustup default "$CHANNEL" - - cargo nextest run -P "$PROFILE" -j4 --hide-progress-bar --success-output final --no-default-features --features "$FEATURES" + - cargo nextest run -j4 --profile "$PROFILE" --hide-progress-bar --success-output final --no-default-features --features "$FEATURES" when: event: [pull_request, push, tag] # Only run tests for stable channel to avoid straining Codeberg's CI. @@ -51,7 +51,7 @@ steps: CARGO_TERM_COLOR: always commands: - rustup default "$CHANNEL" - - cargo build -P "$PROFILE" -j4 -p topola-egui --no-default-features --features "$FEATURES,xdg-portal" + - cargo build -j4 --profile "$PROFILE" -p topola-egui --no-default-features --features "$FEATURES,xdg-portal" when: event: [pull_request, push, tag]