build(deps): bump cosmwasm-schema from 1.3.1 to 1.5.0 #280
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: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Verify .rs and toml files 👀 | |
uses: technote-space/get-diff-action@v6.1.0 | |
id: git_diff | |
with: | |
PATTERNS: | | |
**/**.rs | |
**/**.toml | |
- name: Prepare rust cache 🗄️ | |
if: env.GIT_DIFF | |
uses: Swatinem/rust-cache@v2 | |
- name: Setup Rust ⚙️ | |
if: env.GIT_DIFF | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Setup Wasm Target ⚙️ | |
if: env.GIT_DIFF | |
run: rustup target add wasm32-unknown-unknown | |
- name: Build contracts 🔨 | |
if: env.GIT_DIFF | |
run: cargo build --target wasm32-unknown-unknown |