name: Platform Tests
on:
push:
branches:
pull_request:
branches:
jobs:
test-platforms:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build
run: cargo build
- name: Run tests
run: cargo test