Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 21 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-go-binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading