@@ -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 }}
@@ -170,7 +170,7 @@ jobs:
170
170
171
171
# Check for any typos
172
172
- name : Check for typos
173
- uses : crate-ci/typos@v1.22.3
173
+ uses : crate-ci/typos@v1.22.9
174
174
with :
175
175
config : .github/workflows/typos.toml
176
176
@@ -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
@@ -254,12 +254,9 @@ jobs:
254
254
- name : Setup Node
255
255
uses : ./.github/actions/setup-node
256
256
257
+ # Use default Go version
257
258
- name : Setup Go
258
- uses : buildjet/setup-go@v5
259
- with :
260
- # This doesn't need caching. It's super fast anyways!
261
- cache : false
262
- go-version : 1.21.9
259
+ uses : ./.github/actions/setup-go
263
260
264
261
- name : Install shfmt
265
262
run : go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0
@@ -273,7 +270,7 @@ jobs:
273
270
run : ./scripts/check_unstaged.sh
274
271
275
272
test-go :
276
- 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 }}
277
274
needs : changes
278
275
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
279
276
timeout-minutes : 20
@@ -329,7 +326,7 @@ jobs:
329
326
api-key : ${{ secrets.DATADOG_API_KEY }}
330
327
331
328
test-go-pg :
332
- 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' }}
333
330
needs :
334
331
- changes
335
332
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
@@ -364,7 +361,7 @@ jobs:
364
361
api-key : ${{ secrets.DATADOG_API_KEY }}
365
362
366
363
test-go-race :
367
- 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' }}
368
365
needs : changes
369
366
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
370
367
timeout-minutes : 25
@@ -399,7 +396,7 @@ jobs:
399
396
# These tests are skipped in the main go test jobs because they require root
400
397
# and mess with networking.
401
398
test-go-tailnet-integration :
402
- 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' }}
403
400
needs : changes
404
401
# Unnecessary to run on main for now
405
402
if : needs.changes.outputs.tailnet-integration == 'true' || needs.changes.outputs.ci == 'true'
@@ -421,7 +418,7 @@ jobs:
421
418
run : make test-tailnet-integration
422
419
423
420
test-js :
424
- 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' }}
425
422
needs : changes
426
423
if : needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
427
424
timeout-minutes : 20
@@ -438,7 +435,7 @@ jobs:
438
435
working-directory : site
439
436
440
437
test-e2e :
441
- 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' }}
442
439
needs : changes
443
440
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
444
441
timeout-minutes : 20
@@ -582,7 +579,7 @@ jobs:
582
579
offlinedocs :
583
580
name : offlinedocs
584
581
needs : changes
585
- 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' }}
586
583
if : needs.changes.outputs.offlinedocs == 'true' || needs.changes.outputs.ci == 'true' || needs.changes.outputs.docs == 'true'
587
584
588
585
steps :
@@ -680,11 +677,10 @@ jobs:
680
677
681
678
build :
682
679
# This builds and publishes ghcr.io/coder/coder-preview:main for each commit
683
- # to main branch. We are only building this for amd64 platform. (>95% pulls
684
- # are for amd64)
680
+ # to main branch.
685
681
needs : changes
686
682
if : github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
687
- 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' }}
688
684
env :
689
685
DOCKER_CLI_EXPERIMENTAL : " enabled"
690
686
outputs :
@@ -890,7 +886,7 @@ jobs:
890
886
# runs sqlc-vet to ensure all queries are valid. This catches any mistakes
891
887
# in migrations or sqlc queries that makes a query unable to be prepared.
892
888
sqlc-vet :
893
- 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' }}
894
890
needs : changes
895
891
if : needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
896
892
steps :
0 commit comments