name: CI # Continuous Integration

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  test:
    name: Test Suite
    runs-on: macos-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3
      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@stable
      - uses: Swatinem/rust-cache@v2
      - name: Run tests
        run: cargo test --all-features --workspace
