Run clippy for Windows (#15318)

This PR fixes running clippy on Windows, as it broke in #13223.

We can't run shell scripts on Windows, so we need to use something else.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers authored and GitHub committed 2024-07-26 21:38:34 -04:00
1 parent 20f4b8509f
commit be996673a2
2 files changed
+10 -1

No files matched your search

+2 -1
View File
@@ -147,7 +147,8 @@ jobs:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: cargo clippy
run: ./script/clippy
# Windows can't run shell scripts, so we need to use `cargo xtask`.
run: cargo xtask clippy
- name: Build Zed
run: cargo build -p zed