@@ -120,7 +120,7 @@ jobs:
120
120
update-flake :
121
121
needs : changes
122
122
if : needs.changes.outputs.gomod == 'true'
123
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
123
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
124
124
steps :
125
125
- name : Checkout
126
126
uses : actions/checkout@v4
@@ -139,7 +139,7 @@ jobs:
139
139
lint :
140
140
needs : changes
141
141
if : needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
142
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
142
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
143
143
steps :
144
144
- name : Checkout
145
145
uses : actions/checkout@v4
@@ -160,7 +160,7 @@ jobs:
160
160
echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV
161
161
162
162
- name : golangci-lint cache
163
- uses : buildjet /cache@v4
163
+ uses : actions /cache@v4
164
164
with :
165
165
path : |
166
166
${{ env.LINT_CACHE_DIR }}
@@ -193,7 +193,7 @@ jobs:
193
193
194
194
gen :
195
195
timeout-minutes : 8
196
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
196
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
197
197
needs : changes
198
198
if : needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
199
199
steps :
@@ -243,7 +243,7 @@ jobs:
243
243
fmt :
244
244
needs : changes
245
245
if : needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
246
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
246
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
247
247
timeout-minutes : 7
248
248
steps :
249
249
- name : Checkout
@@ -270,7 +270,7 @@ jobs:
270
270
run : ./scripts/check_unstaged.sh
271
271
272
272
test-go :
273
- runs-on : ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'buildjet-4vcpu- ubuntu-2204 ' || matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'macos-latest-xlarge' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-16-cores' || matrix.os }}
273
+ runs-on : ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'depot- ubuntu-22.04-4 ' || matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'macos-latest-xlarge' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-16-cores' || matrix.os }}
274
274
needs : changes
275
275
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
276
276
timeout-minutes : 20
@@ -326,7 +326,7 @@ jobs:
326
326
api-key : ${{ secrets.DATADOG_API_KEY }}
327
327
328
328
test-go-pg :
329
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
329
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
330
330
needs :
331
331
- changes
332
332
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
@@ -361,7 +361,7 @@ jobs:
361
361
api-key : ${{ secrets.DATADOG_API_KEY }}
362
362
363
363
test-go-race :
364
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
364
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
365
365
needs : changes
366
366
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
367
367
timeout-minutes : 25
@@ -396,7 +396,7 @@ jobs:
396
396
# These tests are skipped in the main go test jobs because they require root
397
397
# and mess with networking.
398
398
test-go-tailnet-integration :
399
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
399
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
400
400
needs : changes
401
401
# Unnecessary to run on main for now
402
402
if : needs.changes.outputs.tailnet-integration == 'true' || needs.changes.outputs.ci == 'true'
@@ -418,7 +418,7 @@ jobs:
418
418
run : make test-tailnet-integration
419
419
420
420
test-js :
421
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
421
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
422
422
needs : changes
423
423
if : needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
424
424
timeout-minutes : 20
@@ -435,7 +435,7 @@ jobs:
435
435
working-directory : site
436
436
437
437
test-e2e :
438
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-16vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
438
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-16 ' || 'ubuntu-latest' }}
439
439
needs : changes
440
440
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
441
441
timeout-minutes : 20
@@ -579,7 +579,7 @@ jobs:
579
579
offlinedocs :
580
580
name : offlinedocs
581
581
needs : changes
582
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
582
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
583
583
if : needs.changes.outputs.offlinedocs == 'true' || needs.changes.outputs.ci == 'true' || needs.changes.outputs.docs == 'true'
584
584
585
585
steps :
@@ -677,11 +677,10 @@ jobs:
677
677
678
678
build :
679
679
# This builds and publishes ghcr.io/coder/coder-preview:main for each commit
680
- # to main branch. We are only building this for amd64 platform. (>95% pulls
681
- # are for amd64)
680
+ # to main branch.
682
681
needs : changes
683
682
if : github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
684
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
683
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
685
684
env :
686
685
DOCKER_CLI_EXPERIMENTAL : " enabled"
687
686
outputs :
@@ -887,7 +886,7 @@ jobs:
887
886
# runs sqlc-vet to ensure all queries are valid. This catches any mistakes
888
887
# in migrations or sqlc queries that makes a query unable to be prepared.
889
888
sqlc-vet :
890
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204 ' || 'ubuntu-latest' }}
889
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot- ubuntu-22.04-8 ' || 'ubuntu-latest' }}
891
890
needs : changes
892
891
if : needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
893
892
steps :
0 commit comments