From c22af06bae98c04cb67c8383b0cc7e7782cc472b Mon Sep 17 00:00:00 2001 From: Koen van Hove Date: Mon, 29 Sep 2025 14:10:45 +0200 Subject: [PATCH] Only run Clippy on Ubuntu --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eb8d54d..4830a2be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,10 +63,12 @@ jobs: with: rust-version: ${{ matrix.rust }} - if: runner.os == 'Windows' + name: Set VCPKG root run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append - if: runner.os == 'Windows' + name: Install OpenSSL for Windows run: vcpkg install openssl:x64-windows-static-md - - if: matrix.rust == 'stable' && matrix.args == '--all-features' + - if: matrix.rust == 'stable' && matrix.args == '--all-features' && matrix.os == 'ubuntu-latest' run: cargo clippy ${{ matrix.args }} -- -D warnings - run: cargo build ${{ matrix.args }} --locked - run: cargo test ${{ matrix.args }} -- --test-threads=1 2>&1