This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 72b2ec53a ci: verify MSRV on CI (#4490)
72b2ec53a is described below
commit 72b2ec53aa2d5f1d80605127b7e0611522ef9d71
Author: eitsupi <[email protected]>
AuthorDate: Mon Jul 10 23:03:48 2023 +0900
ci: verify MSRV on CI (#4490)
---
.github/workflows/rust.yml | 24 ++++++++++++++++++++++++
arrow-flight/Cargo.toml | 2 +-
arrow/Cargo.toml | 2 +-
object_store/Cargo.toml | 1 +
parquet/Cargo.toml | 2 +-
5 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index e09e898fe..6b316fd6b 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -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
diff --git a/arrow-flight/Cargo.toml b/arrow-flight/Cargo.toml
index ae9759b66..3ed426a21 100644
--- a/arrow-flight/Cargo.toml
+++ b/arrow-flight/Cargo.toml
@@ -20,7 +20,7 @@ name = "arrow-flight"
description = "Apache Arrow Flight"
version = { workspace = true }
edition = { workspace = true }
-rust-version = { workspace = true }
+rust-version = "1.70.0"
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml
index ed4786fb3..2b502f4a3 100644
--- a/arrow/Cargo.toml
+++ b/arrow/Cargo.toml
@@ -31,7 +31,7 @@ include = [
"Cargo.toml",
]
edition = { workspace = true }
-rust-version = { workspace = true }
+rust-version = "1.70.0"
[lib]
name = "arrow"
diff --git a/object_store/Cargo.toml b/object_store/Cargo.toml
index 5e2009d07..255b972e3 100644
--- a/object_store/Cargo.toml
+++ b/object_store/Cargo.toml
@@ -24,6 +24,7 @@ readme = "README.md"
description = "A generic object store interface for uniformly interacting with
AWS S3, Google Cloud Storage, Azure Blob Storage and local files."
keywords = ["object", "storage", "cloud"]
repository = "https://github.com/apache/arrow-rs/tree/master/object_store"
+rust-version = "1.62.1"
[package.metadata.docs.rs]
all-features = true
diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml
index 52b0f0497..a570e5f64 100644
--- a/parquet/Cargo.toml
+++ b/parquet/Cargo.toml
@@ -26,7 +26,7 @@ authors = { workspace = true }
keywords = ["arrow", "parquet", "hadoop"]
readme = "README.md"
edition = { workspace = true }
-rust-version = { workspace = true }
+rust-version = "1.70.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
ahash = { version = "0.8", default-features = false, features =
["compile-time-rng"] }