Merge pull request #92 from AbstractSDK/buckram/load-latest-carrots #552
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
permissions: | |
contents: read | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
name: test | |
jobs: | |
required: | |
runs-on: ubuntu-latest | |
name: ubuntu / ${{ matrix.toolchain }} | |
strategy: | |
matrix: | |
toolchain: [stable, beta] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install ${{ matrix.toolchain }} | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- name: cargo generate-lockfile | |
if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
- name: Install just | |
uses: extractions/setup-just@v1 | |
# Test tube requires go | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ">=1.19.0" | |
- name: generate artifacts | |
run: mkdir -p target && just wasm | |
- name: cargo test --locked | |
run: cargo test --locked --all-features --all-targets |