fix: struct naming according to docs #67
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: Compile and publish Cosmwasm contracts to the GitHub Package Registry | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- contracts/cosmwasm-vm/** | |
- libraries/common/rust/** | |
- .github/workflows/deploy-cosmwasm-contracts.yml | |
jobs: | |
Build: | |
name: Build Cosmasm Contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.69.0 | |
target: wasm32-unknown-unknown | |
override: true | |
profile: minimal | |
- name: Cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Compile WASM | |
run: | | |
rustup component add rustfmt --toolchain 1.69.0-x86_64-unknown-linux-gnu | |
rustup component add clippy --toolchain 1.69.0-x86_64-unknown-linux-gnu | |
bash ./scripts/optimize-cosmwasm.sh | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cosmwasm-contracts | |
path: artifacts | |