Stake: Hotfix/stake new query #1288
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
on: [pull_request] | |
name: Basic | |
jobs: | |
build: | |
name: Build binaries | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust-version: [1.79.0] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust-version }} | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Build | |
run: make build | |
test: | |
needs: build | |
name: Test Suite | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust-version: [1.79.0] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust-version }} | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Run tests | |
run: make test | |
lints: | |
needs: build | |
name: Lints | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust-version: [1.79.0] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust-version }} | |
override: true | |
target: wasm32-unknown-unknown | |
components: rustfmt, clippy | |
- name: Run lints | |
run: make lints |