name: CI on: merge_group: pull_request: push: branches: - main workflow_dispatch: permissions: contents: read jobs: lint: name: Lint runs-on: macos-26 timeout-minutes: 30 steps: - uses: actions/checkout@v6 - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - name: Install lint components run: rustup component add clippy rustfmt - name: Check formatting run: cargo fmt --check - name: Run Clippy run: cargo clippy --all-targets --all-features -- -D warnings test: name: Test on macOS 26 runs-on: macos-26 timeout-minutes: 30 steps: - uses: actions/checkout@v6 - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - name: Run tests run: cargo test