ci: check linux only (windows needs MSVC tools, covered by build job)

This commit is contained in:
jackwener
2026-04-16 23:42:31 +08:00
parent 2170db93eb
commit a2239c0dca
+3 -5
View File
@@ -13,12 +13,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
with: with:
targets: x86_64-pc-windows-msvc,x86_64-unknown-linux-gnu targets: x86_64-unknown-linux-gnu
- name: cargo check all targets - name: cargo check linux target
run: | run: cargo check --target x86_64-unknown-linux-gnu
cargo check --target x86_64-unknown-linux-gnu
cargo check --target x86_64-pc-windows-msvc
build: build:
needs: check needs: check