Merge pull request #147 from igneous-labs/feat/add-chimpionSOL-heroSO… #137
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: Cargo Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened] | |
push: | |
branches: | |
- "master" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: install toolchain | |
uses: dtolnay/rust-toolchain@master # need to be @master to specify custom toolchain | |
with: | |
toolchain: 1.79.0 # match vers in rust-toolchain.toml | |
- name: rust-cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
rust | |
- name: cargo test | |
run: cargo test --manifest-path ./rust/Cargo.toml |