Skip to content

Commit

Permalink
install cargo binary before wasm compile to avoid docker mount permis…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
rnbguy committed Apr 20, 2024
1 parent 2210f7e commit 8cb0262
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cw-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
# only for caching cargo build artifacts from `cosmwasm/optimizer`
- uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install `cosmwasm-check` from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: cosmwasm-check

- name: Create mount directories
run: mkdir -p "${HOME}/.cargo/registry" "$(pwd)"/target

Expand All @@ -45,11 +50,6 @@ jobs:
-v "${HOME}/.cargo/registry":/usr/local/cargo/registry \
cosmwasm/optimizer:0.15.1 ./ci/cw-check
- name: Install `cosmwasm-check` from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: cosmwasm-check

- name: Check compiled CosmWasm contract
working-directory: artifacts
run: |
Expand Down

0 comments on commit 8cb0262

Please sign in to comment.