From 770374943d0b0a1661d03b1779211d4fcf370ea8 Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Thu, 6 Oct 2022 22:47:42 +0300 Subject: [PATCH] CI: Add a new run to check whether lock file is up-to-date --- .github/workflows/rust.yml | 3 +++ .gitignore | 1 - datafusion-cli/Cargo.lock | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 937fad7f52205..e74af1352d2d1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -61,6 +61,9 @@ jobs: - name: Check workspace with all features run: | cargo check --workspace --benches --features avro,jit,scheduler,json + - name: Check Cargo.lock for datafusion-cli + run: | + cargo check --manifest-path datafusion-cli/Cargo.toml --locked # test the crate linux-test: diff --git a/.gitignore b/.gitignore index 529c590f73d11..5942659d19d1d 100644 --- a/.gitignore +++ b/.gitignore @@ -85,7 +85,6 @@ cpp/Brewfile.lock.json target Cargo.lock !datafusion-cli/Cargo.lock -!ballista-cli/Cargo.lock rusty-tags.vi .history diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lock index bc4e084f10d95..4397589e26fa1 100644 --- a/datafusion-cli/Cargo.lock +++ b/datafusion-cli/Cargo.lock @@ -1978,9 +1978,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "sqlparser" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac9c312566fdfc45a38ecf1924013c82af2a7d5315e46f67b1cc987f12be260" +checksum = "0781f2b6bd03e5adf065c8e772b49eaea9f640d06a1b9130330fe8bd2563f4fd" dependencies = [ "log", ]