From 44fed1bdf9429f7ab42488021a9e9ee2b993615e Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Wed, 12 Jul 2023 18:38:25 +0200 Subject: [PATCH] Update CI --- .github/workflows/lint-rust.yml | 2 +- polars/Makefile | 24 ++---------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/lint-rust.yml b/.github/workflows/lint-rust.yml index ed8e3fe01d2d..a21f0b32c520 100644 --- a/.github/workflows/lint-rust.yml +++ b/.github/workflows/lint-rust.yml @@ -40,7 +40,7 @@ jobs: save-if: ${{ github.ref_name == 'main' }} - name: Run cargo clippy with all features enabled - run: cargo clippy --all-features --lib --bins --examples --test it -- -D warnings + run: cargo clippy --all-targets --all-features -- -D warnings # Default feature set should compile on the stable toolchain clippy-stable: diff --git a/polars/Makefile b/polars/Makefile index be6051750ef6..cdbc267f754e 100644 --- a/polars/Makefile +++ b/polars/Makefile @@ -13,30 +13,10 @@ generate_test_files: cargo run -p polars-cli "select * from read_csv('../examples/datasets/foods1.csv')" -o arrow > ../examples/datasets/foods1.ipc check: - cargo check --all-features \ - -p polars-core \ - -p polars-io \ - -p polars-lazy \ - -p polars-arrow \ - -p polars-time \ - -p polars-error \ - -p polars-ops \ - -p polars-sql \ - -p polars-json + cargo check --all-targets --all-features clippy: - cargo clippy --all-features \ - -p polars-core \ - -p polars-io \ - -p polars-lazy \ - -p polars-arrow \ - -p polars-utils \ - -p polars-ops \ - -p polars-error \ - -p polars-row \ - -p polars-time \ - -p polars-sql \ - -p polars-json + cargo clippy --all-targets --all-features clippy-default: cargo clippy