From 607fa056a4c0a0058cd7c4c788f3dcff8426fe54 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Mon, 7 Oct 2024 00:42:44 +0200 Subject: [PATCH] ci(build_wasm): `cargo binstall trunk` instead of installing from source This is intended to make the `build_wasm` CI check complete more quickly. --- .woodpecker/build_wasm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build_wasm.yaml b/.woodpecker/build_wasm.yaml index a4c4e6d..a039d2c 100644 --- a/.woodpecker/build_wasm.yaml +++ b/.woodpecker/build_wasm.yaml @@ -12,9 +12,11 @@ steps: RUST_BACKTRACE: 1 CARG_TERM_COLOR: always commands: + - apt-get -y install curl + - 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 trunk - rustup default "$CHANNEL" - rustup target add wasm32-unknown-unknown - - cargo install --locked trunk - trunk build when: event: [pull_request, push, tag]