Skip to content

Commit 07dcca7

Browse files
authored
chore(ci): cubesql workflow - check cubenativeutils & cubesqlplanner (#8821)
1 parent f4b03f2 commit 07dcca7

File tree

10 files changed

+13
-212
lines changed

10 files changed

+13
-212
lines changed

.github/workflows/rust-cubesql.yml

+8
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ on:
55
paths:
66
- '.github/workflows/rust-cubesql.yml'
77
- 'packages/cubejs-backend-native/**'
8+
- 'rust/cubenativeutils/**'
9+
- 'rust/cubesqlplanner/**'
810
- 'rust/cubesql/**'
911
branches:
1012
- 'master'
1113
pull_request:
1214
paths:
1315
- '.github/workflows/rust-cubesql.yml'
1416
- 'packages/cubejs-backend-native/**'
17+
- 'rust/cubenativeutils/**'
18+
- 'rust/cubesqlplanner/**'
1519
- 'rust/cubesql/**'
1620

1721
jobs:
@@ -43,6 +47,10 @@ jobs:
4347
run: cd rust/cubesql && cargo fmt --all -- --check
4448
- name: Lint Native
4549
run: cd packages/cubejs-backend-native && cargo fmt --all -- --check
50+
- name: Lint cubenativeutils
51+
run: cd rust/cubenativeutils && cargo fmt --all -- --check
52+
- name: Lint cubesqlplanner
53+
run: cd rust/cubesqlplanner && cargo fmt --all -- --check
4654
- name: Clippy CubeSQL
4755
run: cd rust/cubesql && cargo clippy --locked --workspace --all-targets --keep-going -- -D warnings
4856
- name: Clippy Native

packages/cubejs-backend-native/Cargo.lock

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cubenativeutils/Cargo.lock

-159
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cubenativeutils/Cargo.toml

-10
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,10 @@ serde_derive = "1.0.115"
1414
serde = "1.0.115"
1515
serde_json = "1.0.56"
1616
log = "0.4.21"
17-
simple_logger = "1.7.0"
1817
uuid = { version = "0.8", features = ["v4"] }
19-
once_cell = "1.10"
20-
libc = "0.2"
21-
findshlibs = "0.10.2"
2218
lazy_static = "1.4.0"
2319
regex = "1.3.9"
2420
convert_case = "0.6.0"
25-
minijinja = { version = "1", features = ["json", "loader"] }
26-
log-reroute = "0.1"
27-
futures = "0.3.23"
28-
# python
29-
pyo3 = { version = "0.20.0", features = [], optional = true }
30-
pyo3-asyncio = { version = "0.20.0", features = ["tokio-runtime", "attributes"], optional = true }
3121

3222
[dependencies.neon]
3323
version = "=1"
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2023-12-13"
2+
channel = "nightly-2024-07-15"
33
components = ["rustfmt", "rustc-dev", "clippy"]
4-
profile = "minimal"
4+
profile = "minimal"

rust/cubenativeutils/src/wrappers/object.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use super::inner_types::InnerTypes;
22
use super::object_handle::NativeObjectHandle;
33
use cubesql::CubeError;
4-
use regex::Regex;
54

65
pub trait NativeObject<IT: InnerTypes>: Clone {
76
fn get_context(&self) -> IT::Context;

rust/cubesqlplanner/Cargo.lock

-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cubesqlplanner/cubesqlplanner/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ chrono = "0.4.15"
2121
chrono-tz = "0.8.2"
2222
lazy_static = "1.4.0"
2323
regex = "1.3.9"
24+
2425
[dependencies.neon]
2526
version = "=1"
2627
default-features = false

rust/cubesqlplanner/cubesqlplanner/src/plan/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pub mod query_plan;
88
pub mod select;
99
pub mod union;
1010

11-
use cubenativeutils::CubeError;
1211
pub use expression::Expr;
1312
pub use filter::{Filter, FilterItem};
1413
pub use from::{From, FromSource};

0 commit comments

Comments
 (0)