Apache DataFusion SQL Query Engine
Add MSRV check as a GA job (#7123)
Kousuke Saruta164ec9d5650b
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex efc97ebaba..c84dab964e 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -558,3 +558,28 @@ jobs:# If you encounter an error, run './dev/update_config_docs.sh' and commit./dev/update_config_docs.shgit diff --exit-code++ # Verify MSRV for the crates which are directly used by other projects.+ 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 datafusion+ working-directory: datafusion/core+ run: cargo msrv verify+ - name: Check datafusion-substrait+ working-directory: datafusion/substrait+ run: cargo msrv verify+ - name: Check datafusion-proto+ working-directory: datafusion/proto+ run: cargo msrv verify+ - name: Check datafusion-cli+ working-directory: datafusion-cli+ run: cargo msrv verifydiff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.tomlindex d182f00a4f..81a7b91059 100644--- a/datafusion/core/Cargo.toml+++ b/datafusion/core/Cargo.toml@@ -27,7 +27,7 @@ homepage = { workspace = true }repository = { workspace = true }license = { workspace = true }authors = { workspace = true }-rust-version = { workspace = true }+rust-version = "1.70"[lib]name = "datafusion"diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.tomlindex dd1123c13e..71857e9e51 100644--- a/datafusion/proto/Cargo.toml+++ b/datafusion/proto/Cargo.toml@@ -26,7 +26,7 @@ homepage = { workspace = true }repository = { workspace = true }license = { workspace = true }authors = { workspace = true }-rust-version = { workspace = true }+rust-version = "1.70"# Exclude proto files so crates.io consumers don't need protocexclude = ["*.proto"]diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.tomlindex 10ff332e86..bf0f2f92f8 100644--- a/datafusion/substrait/Cargo.toml+++ b/datafusion/substrait/Cargo.toml@@ -25,7 +25,7 @@ homepage = { workspace = true }repository = { workspace = true }license = { workspace = true }authors = { workspace = true }-rust-version = { workspace = true }+rust-version = "1.70"[dependencies]async-recursion = "1.0"