cargo-dist
update
#359
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: Test | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v3 | |
- name: "Install wasm32-unknown-unknown" | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: "stable" | |
targets: "wasm32-unknown-unknown" | |
- name: "Use rust-cache" | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
. | |
examples/workspace | |
- name: "Run cargo test --features=full_tests" | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features=full_tests |