From afceddaa0298af239b4f8d701073be02699dfac8 Mon Sep 17 00:00:00 2001 From: Robin Linden Date: Wed, 7 Oct 2026 22:06:19 +0200 Subject: [PATCH] Update CI bits * Run prettier on an ubuntu-slim runner - npm, unlike cargo, is available on these runners * Switch to Ubuntu 26.04 from 24.04 * Switch to macOS 26 from 14 * Update actions/checkout to resolve a deprecation warning * Update prettier to the latest version --- .github/workflows/ci.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7883c48..b8e67e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,27 +9,26 @@ permissions: jobs: # Formatting for .yaml, .md, and other not-Rust things. prettier: - runs-on: ubuntu-24.04 - timeout-minutes: 30 + runs-on: ubuntu-slim steps: - - uses: actions/checkout@v4 - - run: npm install --global prettier@3.4.2 + - uses: actions/checkout@v7 + - run: npm install --global prettier@3.9.9 - run: npx prettier --ignore-path .gitignore --write . - run: git diff --exit-code cargo-fmt: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 30 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - run: cargo --version - run: cargo fmt -- --check cargo-clippy: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 30 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - run: cargo --version - run: cargo clippy --all-targets --all-features -- -D warnings @@ -40,10 +39,10 @@ jobs: strategy: matrix: - os: [ubuntu-24.04, windows-2025, macos-15] + os: [ubuntu-26.04, windows-2025, macos-26] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - run: cargo --version - run: cargo test --all-targets --all-features