ci: Use smaller windows runners (#26674)

Let's see if the speed of `windows-2025-32` for `windows_tests` is
fast-enough for PRs and everywhere else use `windows-2025-16`. Leaving
`windows_clippy` unchanged with `windows-2025-16`.

Release Notes:

- N/A
This commit is contained in:
Peter Tripp 2025-03-13 11:39:12 -04:00 committed by GitHub
parent b0b65420f6
commit 87cdb68cca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -366,7 +366,8 @@ jobs:
if: |
github.repository_owner == 'zed-industries' &&
needs.job_spec.outputs.run_tests == 'true'
runs-on: windows-2025-64
# Use bigger runners for PRs (speed); smaller for async (cost)
runs-on: ${{ github.event_name == 'pull_request' && 'windows-2025-32' || 'windows-2025-16' }}
steps:
# more info here:- https://github.com/rust-lang/cargo/issues/13020
- name: Enable longer pathnames for git