mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-05 19:32:56 +00:00
ci: run clippy on tests (#1659)
This commit is contained in:
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@@ -30,7 +30,6 @@ jobs:
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: rust
|
||||
env:
|
||||
# Need up-to-date compilers for kernels
|
||||
CC: gcc-12
|
||||
@@ -50,7 +49,7 @@ jobs:
|
||||
- name: Run format
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all --all-features -- -D warnings
|
||||
run: cargo clippy --workspace --tests --all-features -- -D warnings
|
||||
linux:
|
||||
timeout-minutes: 30
|
||||
# To build all features, we need more disk space than is available
|
||||
|
||||
@@ -3234,7 +3234,7 @@ mod tests {
|
||||
let values_builder = StringBuilder::new();
|
||||
let mut builder = ListBuilder::new(values_builder);
|
||||
for i in 0..120 {
|
||||
builder.values().append_value(TAGS[i % 3].to_string());
|
||||
builder.values().append_value(TAGS[i % 3]);
|
||||
if i % 3 == 0 {
|
||||
builder.append(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user