This is an automated email from the ASF dual-hosted git repository.

Jefffrey pushed a commit to branch 57_maintenance
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/57_maintenance by this push:
     new bb02d549f1 [57_maintenance] Fix MSRV CI by installing cargo-msrv with 
taiki-e/install-action & pinning ubuntu (#11777)
bb02d549f1 is described below

commit bb02d549f12b532f135b882c1092dc2dd4740238
Author: Andrew Lamb <[email protected]>
AuthorDate: Wed Oct 21 22:30:09 2026 -0400

    [57_maintenance] Fix MSRV CI by installing cargo-msrv with 
taiki-e/install-action & pinning ubuntu (#11777)
    
    # Which issue does this PR close?
    
    - Part of #11666 (57.3.2 release)
    
    # Rationale for this change
    
    The `Verify MSRV` job fails on PRs against `57_maintenance` (for example
    #11726) for reasons unrelated to those PRs:
    
    ```
    error: cannot install package `cargo-msrv 0.19.5`, it requires rustc 1.94.1 
or newer, while the currently active rustc version is 1.91.1
    `cargo-msrv 0.19.3` supports rustc 1.91.1
    ```
    
    `cargo-msrv` 0.19.4 and 0.19.5 were released today (2026-10-21) and
    require rustc 1.94.1, but `57_maintenance` pins the toolchain to 1.91 in
    `rust-toolchain.toml`. `cargo install cargo-msrv --locked` (added in
    #11728) does not help because `--locked` only pins the dependency graph,
    not the `cargo-msrv` version itself.
    
    # What changes are included in this PR?
    
    Install `cargo-msrv` using `taiki-e/install-action` (which downloads a
    prebuilt binary and does not need to compile anything with the pinned
    toolchain), the same way `main` does since #10589. The action is pinned
    to the same commit as on `main`.
    
    # Are these changes tested?
    
    CI
    
    # Are there any user-facing changes?
    
    No, CI only.
    
    ---------
    
    Co-authored-by: Claude Fable 5.1 <[email protected]>
    Co-authored-by: Jefffrey <[email protected]>
---
 .github/workflows/dev.yml         | 2 +-
 .github/workflows/integration.yml | 2 +-
 .github/workflows/parquet.yml     | 2 +-
 .github/workflows/rust.yml        | 7 ++++---
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index f20f0b1436..3c4aec094c 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -36,7 +36,7 @@ jobs:
 
   rat:
     name: Release Audit Tool (RAT)
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v6
       - name: Setup Python
diff --git a/.github/workflows/integration.yml 
b/.github/workflows/integration.yml
index cc74650812..d1978d85f9 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -187,7 +187,7 @@ jobs:
   # test FFI against the C-Data interface exposed by pyarrow
   pyarrow-integration-test:
     name: Pyarrow C Data Interface
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         rust: [stable]
diff --git a/.github/workflows/parquet.yml b/.github/workflows/parquet.yml
index 8b94efd91f..c695494ab0 100644
--- a/.github/workflows/parquet.yml
+++ b/.github/workflows/parquet.yml
@@ -151,7 +151,7 @@ jobs:
 
   pyspark-integration-test:
     name: PySpark Integration Test
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         rust: [ stable ]
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 964b16b4fc..9bd8598b76 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -116,9 +116,10 @@ jobs:
       - uses: actions/checkout@v6
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup-builder
-      - name: Install cargo-msrv (if needed)
-        # cargo-msrv binary may be cached by the cargo cache step in 
setup-builder, and cargo install will error if it is already installed
-        run: if which cargo-msrv ; then echo "using existing cargo-msrv 
binary" ; else cargo install cargo-msrv --locked ; fi
+      - name: Install cargo-msrv
+        uses: taiki-e/install-action@1168f6810a3cb30a3514bf5756a3b7f0422c6df8  
# v2.87.28
+        with:
+          tool: cargo-msrv
       - name: Check all packages
         run: |
           # run `cargo msrv verify --manifest-path "path/to/Cargo.toml"` to 
see problematic dependencies

Reply via email to