community announcement via community factory contract #199
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
rununittest: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.68.2 | |
default: true | |
- uses: Swatinem/rust-cache@v1 | |
- run: rustup target add wasm32-unknown-unknown | |
- name: Build community contract | |
run: cd community && ./build.sh | |
- name: Build community factory contract | |
run: cd community-factory && ./build.sh | |
- name: Build devhub contract | |
run: ./build.sh | |
- name: Unit tests | |
run: | | |
cargo test |