fix: failing wasm compilation #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CosmWasm Check | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/cw-check.yml | |
- Cargo.toml | |
- Cargo.lock | |
- src/** | |
push: | |
branches: main | |
paths: | |
- .github/workflows/cw-check.yml | |
- Cargo.toml | |
- Cargo.lock | |
- src/** | |
jobs: | |
cw-check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Git credentials | |
run: | |
git config --global --replace-all "url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" ssh://[email protected] | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
profile: minimal | |
override: true | |
- name: Cache Cargo registry | |
uses: Swatinem/rust-cache@v2 | |
- name: Build rollkit-ibc CosmWasm contract | |
run: make build-cw | |