Skip to content

Commit 281faf9

Browse files
authored
ci: upgrade runners (#9689)
Per DataDog, I've doubled the resources of our slowest jobs.
1 parent b63dfe7 commit 281faf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jobs:
235235
run: ./scripts/check_unstaged.sh
236236

237237
test-go:
238-
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'buildjet-4vcpu-ubuntu-2204' || matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'macos-latest-xl' || matrix.os == 'windows-2019' && github.repository_owner == 'coder' && 'windows-latest-8-cores' || matrix.os }}
238+
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'buildjet-4vcpu-ubuntu-2204' || matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'macos-latest-xl' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-16-cores' || matrix.os }}
239239
needs: changes
240240
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
241241
timeout-minutes: 20
@@ -245,7 +245,7 @@ jobs:
245245
os:
246246
- ubuntu-latest
247247
- macos-latest
248-
- windows-2019
248+
- windows-2022
249249
steps:
250250
- name: Checkout
251251
uses: actions/checkout@v4
@@ -387,7 +387,7 @@ jobs:
387387

388388
deploy:
389389
name: "deploy"
390-
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
390+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-16vcpu-ubuntu-2204' || 'ubuntu-latest' }}
391391
timeout-minutes: 30
392392
needs: changes
393393
if: |
@@ -510,7 +510,7 @@ jobs:
510510
flags: unittest-js
511511

512512
test-e2e:
513-
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
513+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-16vcpu-ubuntu-2204' || 'ubuntu-latest' }}
514514
needs: changes
515515
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
516516
timeout-minutes: 20

0 commit comments

Comments
 (0)