name: Test
on: workflow_call
jobs:
test:
name: Test
env:
RUSTFLAGS: -D warnings
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
toolchain:
- 1.88.0 # Minimum.
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --verbose