File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -98,23 +98,29 @@ jobs:
9898 runs-on : macos-latest
9999 needs : changes
100100 if : needs.changes.outputs.rust == 'true'
101+ strategy :
102+ fail-fast : false
103+ matrix :
104+ settings :
105+ - target : aarch64-apple-darwin
106+ runner : macos-latest
107+ - target : x86_64-pc-windows-msvc
108+ runner : windows-latest
101109 permissions :
102110 contents : read
103- env :
104- target : aarch64-apple-darwin
105111 steps :
106112 - name : Checkout repository
107113 uses : actions/checkout@v4
108114
109115 - name : Rust setup
110116 uses : dtolnay/rust-toolchain@stable
111117 with :
112- targets : ${{ env .target }}
118+ targets : ${{ matrix.settings .target }}
113119 components : clippy
114120
115121 - uses : ./.github/actions/setup-rust-cache
116122 with :
117- target : ${{ env .target }}
123+ target : ${{ matrix.settings .target }}
118124
119125 - name : Create .env file in root
120126 run : |
@@ -272,7 +278,7 @@ jobs:
272278 run : cargo check --all --release
273279
274280 - name : Run Clippy
275- if : ${{ matrix.settings.target == 'aarch64-apple-darwin' }}
281+ if : ${{ matrix.settings.target == 'aarch64-apple-darwin' || matrix.settings.target == 'x86_64-pc-windows-msvc' }}
276282 uses : actions-rs-plus/clippy-check@v2
277283 with :
278284 args : --workspace --all-features --locked
You can’t perform that action at this time.
0 commit comments