@@ -120,7 +120,7 @@ jobs:
120120update-flake :
121121needs :changes
122122if :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' }}
124124steps :
125125 -name :Checkout
126126uses :actions/checkout@v4
@@ -139,7 +139,7 @@ jobs:
139139lint :
140140needs :changes
141141if :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' }}
143143steps :
144144 -name :Checkout
145145uses :actions/checkout@v4
@@ -160,7 +160,7 @@ jobs:
160160 echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV
161161
162162 -name :golangci-lint cache
163- uses :buildjet /cache@v4
163+ uses :actions /cache@v4
164164with :
165165path :|
166166 ${{ env.LINT_CACHE_DIR }}
@@ -193,7 +193,7 @@ jobs:
193193
194194gen :
195195timeout-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' }}
197197needs :changes
198198if :needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
199199steps :
@@ -243,7 +243,7 @@ jobs:
243243fmt :
244244needs :changes
245245if :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' }}
247247timeout-minutes :7
248248steps :
249249 -name :Checkout
@@ -270,7 +270,7 @@ jobs:
270270run :./scripts/check_unstaged.sh
271271
272272test-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 }}
274274needs :changes
275275if :needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
276276timeout-minutes :20
@@ -326,7 +326,7 @@ jobs:
326326api-key :${{ secrets.DATADOG_API_KEY }}
327327
328328test-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' }}
330330needs :
331331 -changes
332332if :needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
@@ -361,7 +361,7 @@ jobs:
361361api-key :${{ secrets.DATADOG_API_KEY }}
362362
363363test-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' }}
365365needs :changes
366366if :needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
367367timeout-minutes :25
@@ -396,7 +396,7 @@ jobs:
396396# These tests are skipped in the main go test jobs because they require root
397397# and mess with networking.
398398test-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' }}
400400needs :changes
401401# Unnecessary to run on main for now
402402if :needs.changes.outputs.tailnet-integration == 'true' || needs.changes.outputs.ci == 'true'
@@ -418,7 +418,7 @@ jobs:
418418run :make test-tailnet-integration
419419
420420test-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' }}
422422needs :changes
423423if :needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
424424timeout-minutes :20
@@ -435,7 +435,7 @@ jobs:
435435working-directory :site
436436
437437test-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' }}
439439needs :changes
440440if :needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
441441timeout-minutes :20
@@ -579,7 +579,7 @@ jobs:
579579offlinedocs :
580580name :offlinedocs
581581needs :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' }}
583583if :needs.changes.outputs.offlinedocs == 'true' || needs.changes.outputs.ci == 'true' || needs.changes.outputs.docs == 'true'
584584
585585steps :
@@ -677,11 +677,10 @@ jobs:
677677
678678build :
679679# 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.
682681needs :changes
683682if :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' }}
685684env :
686685DOCKER_CLI_EXPERIMENTAL :" enabled"
687686outputs :
@@ -887,7 +886,7 @@ jobs:
887886# runs sqlc-vet to ensure all queries are valid. This catches any mistakes
888887# in migrations or sqlc queries that makes a query unable to be prepared.
889888sqlc-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' }}
891890needs :changes
892891if :needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
893892steps :