Skip to content

Commit

Permalink
ci: verify MSRV on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jul 8, 2023
1 parent 08a57e9 commit ac176ed
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,27 @@ jobs:
run: rustup component add rustfmt
- name: Run
run: cargo fmt --all -- --check

msrv:
name: Verify MSRV
runs-on: ubuntu-latest
container:
image: amd64/rust
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
- name: Install cargo-msrv
run: cargo install cargo-msrv
- name: Check arrow
working-directory: arrow
run: cargo msrv verify
- name: Check parquet
working-directory: parquet
run: cargo msrv verify
- name: Check arrow-flight
working-directory: arrow-flight
run: cargo msrv verify
- name: Check object_store
working-directory: object_store
run: cargo msrv verify
2 changes: 2 additions & 0 deletions arrow-flight/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ homepage = { workspace = true }
repository = { workspace = true }
license = { workspace = true }

metadata.msrv = "1.70.0"

[dependencies]
arrow-arith = { workspace = true, optional = true }
arrow-array = { workspace = true }
Expand Down
2 changes: 2 additions & 0 deletions arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ include = [
edition = { workspace = true }
rust-version = { workspace = true }

metadata.msrv = "1.70.0"

[lib]
name = "arrow"
path = "src/lib.rs"
Expand Down
2 changes: 2 additions & 0 deletions object_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ description = "A generic object store interface for uniformly interacting with A
keywords = ["object", "storage", "cloud"]
repository = "https://github.com/apache/arrow-rs/tree/master/object_store"

metadata.msrv = "1.62.1"

[package.metadata.docs.rs]
all-features = true

Expand Down
2 changes: 2 additions & 0 deletions parquet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ readme = "README.md"
edition = { workspace = true }
rust-version = { workspace = true }

metadata.msrv = "1.70.0"

[target.'cfg(target_arch = "wasm32")'.dependencies]
ahash = { version = "0.8", default-features = false, features = ["compile-time-rng"] }

Expand Down

0 comments on commit ac176ed

Please sign in to comment.