Install rather than add cargo-component
Some checks failed
test / test (push) Failing after 14m15s

This commit is contained in:
2026-04-02 20:59:27 +10:30
parent c6ebe9f1a0
commit c6a0d1900d

View File

@@ -12,7 +12,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
# Build webassembly module # Build webassembly module
- run: cargo add cargo-component - run: cargo install cargo-component
- run: cargo component build --target wasm32-unknown-unknown --release -p move-money-dynamic - run: cargo component build --target wasm32-unknown-unknown --release -p move-money-dynamic
# Limit to one test at a time as the CI infrastructure struggles if trying to start too many containers at once # Limit to one test at a time as the CI infrastructure struggles if trying to start too many containers at once
- run: cargo test --release - run: cargo test --release