name: tests
on:
jobs:
test:
name: Rust ${{ matrix.rust_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust_version:
os:
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
override: true
- run: cargo test