From fba22f07e390fa11fc0b8c99d55a814279f75d1c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 3 May 2024 19:36:33 +0200 Subject: [PATCH] run clippy on a Windows host --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f714fc932..3d7ec210da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,12 @@ jobs: rustc -Vv cargo -V + # The `style` job only runs on Linux; this makes sure the Windows-host-specific + # code is also covered by clippy. + - name: Check clippy + if: ${{ matrix.os == 'windows-latest' }} + run: ./miri clippy -- -D warnings + - name: Test Miri run: ./ci/ci.sh