@@ -19,7 +19,7 @@ concurrency:
19
19
20
20
jobs :
21
21
changes :
22
- runs-on : ubuntu-latest
22
+ runs-on : ubuntu-22.04
23
23
outputs :
24
24
docs-only : ${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }}
25
25
docs : ${{ steps.filter.outputs.docs }}
@@ -119,7 +119,7 @@ jobs:
119
119
# update-flake:
120
120
# needs: changes
121
121
# if: needs.changes.outputs.gomod == 'true'
122
- # runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
122
+ # runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
123
123
# steps:
124
124
# - name: Checkout
125
125
# uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
@@ -152,7 +152,7 @@ jobs:
152
152
lint :
153
153
needs : changes
154
154
if : needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
155
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
155
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
156
156
steps :
157
157
- name : Harden Runner
158
158
uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
@@ -223,7 +223,7 @@ jobs:
223
223
224
224
gen :
225
225
timeout-minutes : 8
226
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
226
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
227
227
if : always()
228
228
steps :
229
229
- name : Harden Runner
@@ -277,7 +277,7 @@ jobs:
277
277
fmt :
278
278
needs : changes
279
279
if : needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
280
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
280
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
281
281
timeout-minutes : 7
282
282
steps :
283
283
- name : Harden Runner
@@ -309,15 +309,15 @@ jobs:
309
309
run : ./scripts/check_unstaged.sh
310
310
311
311
test-go :
312
- 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 }}
312
+ runs-on : ${{ matrix.os == 'ubuntu-22.04 ' && 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 }}
313
313
needs : changes
314
314
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
315
315
timeout-minutes : 20
316
316
strategy :
317
317
fail-fast : false
318
318
matrix :
319
319
os :
320
- - ubuntu-latest
320
+ - ubuntu-22.04
321
321
- macos-latest
322
322
- windows-2022
323
323
steps :
@@ -370,7 +370,7 @@ jobs:
370
370
api-key : ${{ secrets.DATADOG_API_KEY }}
371
371
372
372
test-go-pg :
373
- 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 }}
373
+ runs-on : ${{ matrix.os == 'ubuntu-22.04 ' && 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 }}
374
374
needs : changes
375
375
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
376
376
# This timeout must be greater than the timeout set by `go test` in
@@ -381,7 +381,7 @@ jobs:
381
381
strategy :
382
382
matrix :
383
383
os :
384
- - ubuntu-latest
384
+ - ubuntu-22.04
385
385
- macos-latest
386
386
- windows-2022
387
387
steps :
@@ -454,7 +454,7 @@ jobs:
454
454
# only block merging if tests on postgres 13 fail. Using a matrix strategy
455
455
# here makes the check in the above `required` job rather complicated.
456
456
test-go-pg-16 :
457
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
457
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
458
458
needs :
459
459
- changes
460
460
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
@@ -496,7 +496,7 @@ jobs:
496
496
api-key : ${{ secrets.DATADOG_API_KEY }}
497
497
498
498
test-go-race :
499
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest ' }}
499
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-22.04 ' }}
500
500
needs : changes
501
501
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
502
502
timeout-minutes : 25
@@ -534,7 +534,7 @@ jobs:
534
534
api-key : ${{ secrets.DATADOG_API_KEY }}
535
535
536
536
test-go-race-pg :
537
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest ' }}
537
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-22.04 ' }}
538
538
needs : changes
539
539
if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
540
540
timeout-minutes : 25
@@ -581,7 +581,7 @@ jobs:
581
581
# These tests are skipped in the main go test jobs because they require root
582
582
# and mess with networking.
583
583
test-go-tailnet-integration :
584
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
584
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
585
585
needs : changes
586
586
# Unnecessary to run on main for now
587
587
if : needs.changes.outputs.tailnet-integration == 'true' || needs.changes.outputs.ci == 'true'
@@ -608,7 +608,7 @@ jobs:
608
608
run : make test-tailnet-integration
609
609
610
610
test-js :
611
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
611
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
612
612
needs : changes
613
613
if : needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
614
614
timeout-minutes : 20
@@ -630,7 +630,7 @@ jobs:
630
630
working-directory : site
631
631
632
632
test-e2e :
633
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest ' }}
633
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-22.04 ' }}
634
634
needs : changes
635
635
strategy :
636
636
fail-fast : false
@@ -707,7 +707,7 @@ jobs:
707
707
708
708
chromatic :
709
709
# REMARK: this is only used to build storybook and deploy it to Chromatic.
710
- runs-on : ubuntu-latest
710
+ runs-on : ubuntu-22.04
711
711
needs : changes
712
712
if : needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true'
713
713
steps :
@@ -784,7 +784,7 @@ jobs:
784
784
offlinedocs :
785
785
name : offlinedocs
786
786
needs : changes
787
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
787
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
788
788
if : needs.changes.outputs.offlinedocs == 'true' || needs.changes.outputs.ci == 'true' || needs.changes.outputs.docs == 'true'
789
789
790
790
steps :
@@ -845,7 +845,7 @@ jobs:
845
845
make build/coder_docs_"$(./scripts/version.sh)".tgz
846
846
847
847
required :
848
- runs-on : ubuntu-latest
848
+ runs-on : ubuntu-22.04
849
849
needs :
850
850
- fmt
851
851
- lint
@@ -1108,7 +1108,7 @@ jobs:
1108
1108
1109
1109
deploy :
1110
1110
name : " deploy"
1111
- runs-on : ubuntu-latest
1111
+ runs-on : ubuntu-22.04
1112
1112
timeout-minutes : 30
1113
1113
needs :
1114
1114
- changes
@@ -1178,7 +1178,7 @@ jobs:
1178
1178
kubectl --namespace coder rollout status deployment/coder-provisioner
1179
1179
1180
1180
deploy-wsproxies :
1181
- runs-on : ubuntu-latest
1181
+ runs-on : ubuntu-22.04
1182
1182
needs : build
1183
1183
if : github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
1184
1184
steps :
@@ -1213,7 +1213,7 @@ jobs:
1213
1213
# runs sqlc-vet to ensure all queries are valid. This catches any mistakes
1214
1214
# in migrations or sqlc queries that makes a query unable to be prepared.
1215
1215
sqlc-vet :
1216
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
1216
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
1217
1217
needs : changes
1218
1218
if : needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
1219
1219
steps :
0 commit comments