From c3c81deadaf32271ccafb187f3ff90d250c5bba5 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 21 Jul 2026 09:11:45 -0500 Subject: [PATCH 1/4] ci: Bump MSRV of test dependencies --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8b3658a..00d3279 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,7 @@ jobs: channel: - stable - nightly - - 1.71.0 # MSRV of test dependencies + - 1.85.0 # MSRV of test dependencies os: - macos-13 # x86 MacOS - macos-15 # Arm MacOS From 0dc6566edfe3c4d87580e46bab6441c84f469296 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 21 Jul 2026 09:10:40 -0500 Subject: [PATCH 2/4] ci: Get MSRV directly from crate metadata --- .github/workflows/rust.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 00d3279..f47feca 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,12 +33,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v6 - - - name: Update rust - run: | - rustup default ${{ matrix.channel }} - rustup update --no-self-update - + - run: rustup default ${{ matrix.channel }} && rustup update --no-self-update - run: cargo test --all clippy: @@ -59,16 +54,21 @@ jobs: msrv: name: Check building with the MSRV runs-on: ubuntu-24.04 + env: + RUSTFLAGS: "" # No need to check warnings on old MSRV, clear `-Dwarnings` steps: - name: Checkout repository uses: actions/checkout@v6 - - - name: Update rust - run: | - rustup default 1.63.0 - rustup update --no-self-update - - - run: cargo build + - run: | + msrv="$( + cargo metadata --format-version 1 | + jq -r --arg CRATE_NAME glob '.packages | map(select((.name == $CRATE_NAME) and (.id | startswith("path+file")))) | first | .rust_version' + )" + echo "MSRV: $msrv" + echo "MSRV=$msrv" >> "$GITHUB_ENV" + - name: Install Rust + run: rustup update "$MSRV" --no-self-update && rustup default "$MSRV" + - run: cargo build -p glob rustfmt: name: Rustfmt From e476c2ac65baba95160feadb438c535b68781677 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 21 Jul 2026 09:16:28 -0500 Subject: [PATCH 3/4] ci: Replace macos-13 and macos-15 with macos-26-intel and macos-26 macos-13 runners are no longer active. --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f47feca..ed585f5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,8 +22,8 @@ jobs: - nightly - 1.85.0 # MSRV of test dependencies os: - - macos-13 # x86 MacOS - - macos-15 # Arm MacOS + - macos-26 + - macos-26-intel - windows-2025 - ubuntu-24.04 include: From 7df5575be1090ed26dfe29a617424a81bdfbc18a Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 21 Jul 2026 09:17:17 -0500 Subject: [PATCH 4/4] ci: Bump ubuntu-24.04 to ubuntu-26.04 --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ed585f5..d3b33b0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,10 +25,10 @@ jobs: - macos-26 - macos-26-intel - windows-2025 - - ubuntu-24.04 + - ubuntu-26.04 include: - channel: beta - os: ubuntu-24.04 + os: ubuntu-26.04 steps: - name: Checkout repository @@ -38,7 +38,7 @@ jobs: clippy: name: Clippy - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@v6 @@ -53,7 +53,7 @@ jobs: msrv: name: Check building with the MSRV - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 env: RUSTFLAGS: "" # No need to check warnings on old MSRV, clear `-Dwarnings` steps: