about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-05-03 19:36:33 +0200
committerRalf Jung <post@ralfj.de>2024-05-03 19:36:33 +0200
commit03589bfe98dd2baa44557f4e432218db0479cd6d (patch)
tree91576d97d9d94801e085f1cf2127ac01a57d99de /src
parent5ce8532c2602822a8badfeb845b9631dcbf6d790 (diff)
downloadrust-03589bfe98dd2baa44557f4e432218db0479cd6d.tar.gz
rust-03589bfe98dd2baa44557f4e432218db0479cd6d.zip
run clippy on a Windows host
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml
index 3f714fc9320..3d7ec210dac 100644
--- a/src/tools/miri/.github/workflows/ci.yml
+++ b/src/tools/miri/.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