Skip to content

Commit 2b5299f

Browse files
committed
use binstall for faster wasi component install
1 parent 1a599d1 commit 2b5299f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
with:
3333
cache-on-failure: true
3434

35+
- uses: cargo-bins/cargo-binstall@main
36+
name: Install cargo-binstall
37+
with:
38+
version: latest
39+
3540
- name: Install Foundry
3641
uses: onbjerg/foundry-toolchain@v1
3742
with:
@@ -45,7 +50,7 @@ jobs:
4550
# move to `- uses: cargo-bins/cargo-binstall@main` ?
4651
- name: Install wasi components
4752
run: |
48-
cargo install cargo-component warg-cli wkg --locked
53+
cargo binstall cargo-component warg-cli wkg --locked --no-confirm
4954
wkg config --default-registry wa.dev
5055
5156
- name: Install forge deps

0 commit comments

Comments
 (0)