name: Rust
on:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: # [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Clippy
run: cargo clippy
- name: Build
run: cargo build --verbose
- name: Tests
run: cargo test --verbose