This repository has been archived by the owner on Oct 6, 2023. It is now read-only.
giftcard updates for mainnet tests & fix msg cases #685
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: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
defaults: | |
run: | |
working-directory: ./cosmwasm | |
jobs: | |
build-n-test: | |
name: "Build wasms & run unit-tests" | |
runs-on: ubuntu-latest | |
environment: production | |
strategy: | |
matrix: | |
toolchain: | |
- nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the contracts code | |
run: cargo build --verbose | |
- name: Run tests for contracts | |
run: cargo test --verbose |