name: Rust
on:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- uses: actions/checkout@v2
- run: cargo build --verbose
- run: cargo test --verbose