Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@ jobs:
- run: cargo fmt --check

clippy:
name: Clippy
name: Clippy (${{ matrix.os }})
needs: fmt
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest]
runs-on: ${{ matrix.os }}
Comment on lines +43 to +45
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macos-latest is a moving target (GitHub can advance it to the next macOS major version), which can cause sudden CI failures that are hard to reproduce locally. Consider pinning to a specific runner image (e.g., macos-14) and bumping intentionally when needed.

Copilot uses AI. Check for mistakes.
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
Expand All @@ -50,9 +54,13 @@ jobs:
- run: cargo clippy --all-targets -- -D warnings

test:
name: Test
name: Test (${{ matrix.os }})
needs: fmt
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest]
runs-on: ${{ matrix.os }}
Comment on lines +61 to +63
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same consideration here: pinning the macOS runner (e.g., macos-14) avoids macos-latest changing underneath the workflow and breaking CI unexpectedly.

Copilot uses AI. Check for mistakes.
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
Expand Down
Loading