Skip to content

Demoded controls

Demoded controls #68

name: Rust Build and Test
on:
pull_request:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Check
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Check Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run Cargo Check
run: cargo check
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
name: Test Suite
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Check Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run Cargo test
run: cargo test