Skip to content

release: v0.1.15

release: v0.1.15 #352

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
quality:
name: Rust quality gates (${{ matrix.os }})
# Both supported platforms gate every PR. A macOS-only run cannot see the
# places where this code asks the operating system a question — clipboards,
# state directories, sound players — and those are exactly the places where
# a change compiles everywhere and works in one place.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install stable Rust
uses: dtolnay/rust-toolchain@stable
- name: Check formatting
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Test
run: cargo test --all-features
- name: Compile all targets
run: cargo check --all-targets --all-features