Only run Clippy on Ubuntu

This commit is contained in:
Koen van Hove
2025-09-29 14:10:45 +02:00
parent 4657a7aace
commit c22af06bae
+3 -1
View File
@@ -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