diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50104ded..217fccaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,7 +125,16 @@ jobs: run: cargo clippy --locked --all-targets --workspace --features fulltext,vortex -- -D warnings msrv: - runs-on: ubuntu-latest + name: msrv (${{ matrix.host }}) + runs-on: ${{ matrix.runner }} + strategy: + fail-fast: false + matrix: + include: + - runner: ubuntu-latest + host: x86_64-unknown-linux-gnu + - runner: macos-15 + host: aarch64-apple-darwin env: PYO3_PYTHON: python3.11 steps: @@ -135,16 +144,22 @@ jobs: with: python-version: "3.11" - - name: Install Rust 1.91.0 - run: rustup toolchain install 1.91.0 --profile minimal + - name: Install Rust 1.94.0 + run: rustup toolchain install 1.94.0 --profile minimal + + - name: Validate MSRV host + env: + EXPECTED_HOST: ${{ matrix.host }} + run: | + rustc +1.94.0 -vV | grep -F "host: ${EXPECTED_HOST}" - name: Validate workspace MSRV metadata run: | - cargo +1.91.0 metadata --locked --format-version 1 --no-deps | - jq -e '.packages | all(.rust_version == "1.91.0")' >/dev/null + cargo +1.94.0 metadata --locked --format-version 1 --no-deps | + jq -e '.packages | all(.rust_version == "1.94.0")' >/dev/null - name: Check workspace at MSRV - run: cargo +1.91.0 check --locked --workspace --all-targets --all-features + run: cargo +1.94.0 check --locked --workspace --all-targets --all-features build: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/release-go-binding.yml b/.github/workflows/release-go-binding.yml index 75e7f039..455b0ae0 100644 --- a/.github/workflows/release-go-binding.yml +++ b/.github/workflows/release-go-binding.yml @@ -113,7 +113,7 @@ jobs: expected_file: libpaimon_c.darwin.amd64.dylib.zst rust_target: x86_64-apple-darwin license_file: THIRD-PARTY-LICENSES.darwin.amd64.html - - runner: macos-14 + - runner: macos-15 expected_file: libpaimon_c.darwin.arm64.dylib.zst rust_target: aarch64-apple-darwin license_file: THIRD-PARTY-LICENSES.darwin.arm64.html diff --git a/Cargo.toml b/Cargo.toml index 08fe20d3..2695d0d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ edition = "2021" homepage = "https://paimon.apache.org/docs/rust/" repository = "https://github.com/apache/paimon-rust" license = "Apache-2.0" -rust-version = "1.91.0" +rust-version = "1.94.0" [workspace.dependencies] arrow = "58.0"