From cc875f1da7e27a58a47251c13a8c8a4eaf13c4f5 Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Tue, 15 Oct 2024 13:37:21 +0200 Subject: [PATCH] CI: simplify --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9589ef22..cbd12774 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -210,6 +210,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest, macos-13] + env: + RUSTFLAGS: "-D warnings" steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly @@ -217,13 +219,7 @@ jobs: components: clippy - name: Clippy - default run: cargo clippy --all-targets - env: - RUSTFLAGS: "-D warnings" - name: Clippy - all features enabled run: cargo clippy --all-targets --all-features - env: - RUSTFLAGS: "-D warnings" - name: Clippy - all features disabled run: cargo clippy --all-targets --no-default-features - env: - RUSTFLAGS: "-D warnings"