name: Test
on:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
steps:
- name: "Checkout repo"
uses: actions/checkout@v3
- name: "Use rust-cache"
uses: Swatinem/rust-cache@v2
- name: "Run cargo test"
uses: actions-rs/cargo@v1
with:
command: test