Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d5211e

Browse files
authored
Merge branch 'main' into atif/coder-tasks-docs
2 parents d1af71f + be7aa58 commit 4d5211e

File tree

165 files changed

+10225
-1464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+10225
-1464
lines changed

.github/workflows/ci.yaml

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
egress-policy: audit
4040

4141
- name: Checkout
42-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
42+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4343
with:
4444
fetch-depth: 1
4545
persist-credentials: false
@@ -123,7 +123,7 @@ jobs:
123123
# runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
124124
# steps:
125125
# - name: Checkout
126-
# uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
126+
# uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
127127
# with:
128128
# fetch-depth: 1
129129
# # See: https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
@@ -161,7 +161,7 @@ jobs:
161161
egress-policy: audit
162162

163163
- name: Checkout
164-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
164+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
165165
with:
166166
fetch-depth: 1
167167
persist-credentials: false
@@ -190,7 +190,7 @@ jobs:
190190
191191
# Check for any typos
192192
- name: Check for typos
193-
uses: crate-ci/typos@52bd719c2c91f9d676e2aa359fc8e0db8925e6d8 # v1.35.3
193+
uses: crate-ci/typos@85f62a8a84f939ae994ab3763f01a0296d61a7ee # v1.36.2
194194
with:
195195
config: .github/workflows/typos.toml
196196

@@ -203,7 +203,7 @@ jobs:
203203
204204
# Needed for helm chart linting
205205
- name: Install helm
206-
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
206+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
207207
with:
208208
version: v3.9.2
209209

@@ -239,7 +239,7 @@ jobs:
239239
egress-policy: audit
240240

241241
- name: Checkout
242-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
242+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
243243
with:
244244
fetch-depth: 1
245245
persist-credentials: false
@@ -295,7 +295,7 @@ jobs:
295295
egress-policy: audit
296296

297297
- name: Checkout
298-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
298+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
299299
with:
300300
fetch-depth: 1
301301
persist-credentials: false
@@ -366,7 +366,7 @@ jobs:
366366
uses: coder/setup-ramdisk-action@e1100847ab2d7bcd9d14bcda8f2d1b0f07b36f1b # v0.1.0
367367

368368
- name: Checkout
369-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
369+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
370370
with:
371371
fetch-depth: 1
372372
persist-credentials: false
@@ -531,9 +531,6 @@ jobs:
531531
with:
532532
api-key: ${{ secrets.DATADOG_API_KEY }}
533533

534-
# NOTE: this could instead be defined as a matrix strategy, but we want to
535-
# only block merging if tests on postgres 13 fail. Using a matrix strategy
536-
# here makes the check in the above `required` job rather complicated.
537534
test-go-pg-17:
538535
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
539536
needs:
@@ -551,7 +548,7 @@ jobs:
551548
egress-policy: audit
552549

553550
- name: Checkout
554-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
551+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
555552
with:
556553
fetch-depth: 1
557554
persist-credentials: false
@@ -600,7 +597,7 @@ jobs:
600597
egress-policy: audit
601598

602599
- name: Checkout
603-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
600+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
604601
with:
605602
fetch-depth: 1
606603
persist-credentials: false
@@ -660,7 +657,7 @@ jobs:
660657
egress-policy: audit
661658

662659
- name: Checkout
663-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
660+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
664661
with:
665662
fetch-depth: 1
666663
persist-credentials: false
@@ -687,7 +684,7 @@ jobs:
687684
egress-policy: audit
688685

689686
- name: Checkout
690-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
687+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
691688
with:
692689
fetch-depth: 1
693690
persist-credentials: false
@@ -720,7 +717,7 @@ jobs:
720717
egress-policy: audit
721718

722719
- name: Checkout
723-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
720+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
724721
with:
725722
fetch-depth: 1
726723
persist-credentials: false
@@ -792,7 +789,7 @@ jobs:
792789
egress-policy: audit
793790

794791
- name: Checkout
795-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
792+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
796793
with:
797794
# 👇 Ensures Chromatic can read your full git history
798795
fetch-depth: 0
@@ -808,7 +805,7 @@ jobs:
808805
# the check to pass. This is desired in PRs, but not in mainline.
809806
- name: Publish to Chromatic (non-mainline)
810807
if: github.ref != 'refs/heads/main' && github.repository_owner == 'coder'
811-
uses: chromaui/action@58d9ffb36c90c97a02d061544ecc849cc4a242a9 # v13.1.3
808+
uses: chromaui/action@d0795df816d05c4a89c80295303970fddd247cce # v13.1.4
812809
env:
813810
NODE_OPTIONS: "--max_old_space_size=4096"
814811
STORYBOOK: true
@@ -840,7 +837,7 @@ jobs:
840837
# infinitely "in progress" in mainline unless we re-review each build.
841838
- name: Publish to Chromatic (mainline)
842839
if: github.ref == 'refs/heads/main' && github.repository_owner == 'coder'
843-
uses: chromaui/action@58d9ffb36c90c97a02d061544ecc849cc4a242a9 # v13.1.3
840+
uses: chromaui/action@d0795df816d05c4a89c80295303970fddd247cce # v13.1.4
844841
env:
845842
NODE_OPTIONS: "--max_old_space_size=4096"
846843
STORYBOOK: true
@@ -873,7 +870,7 @@ jobs:
873870
egress-policy: audit
874871

875872
- name: Checkout
876-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
873+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
877874
with:
878875
# 0 is required here for version.sh to work.
879876
fetch-depth: 0
@@ -926,6 +923,7 @@ jobs:
926923
- lint
927924
- gen
928925
- test-go-pg
926+
- test-go-pg-17
929927
- test-go-race-pg
930928
- test-js
931929
- test-e2e
@@ -948,6 +946,7 @@ jobs:
948946
echo "- lint: ${{ needs.lint.result }}"
949947
echo "- gen: ${{ needs.gen.result }}"
950948
echo "- test-go-pg: ${{ needs.test-go-pg.result }}"
949+
echo "- test-go-pg-17: ${{ needs.test-go-pg-17.result }}"
951950
echo "- test-go-race-pg: ${{ needs.test-go-race-pg.result }}"
952951
echo "- test-js: ${{ needs.test-js.result }}"
953952
echo "- test-e2e: ${{ needs.test-e2e.result }}"
@@ -973,7 +972,7 @@ jobs:
973972
steps:
974973
# Harden Runner doesn't work on macOS
975974
- name: Checkout
976-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
975+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
977976
with:
978977
fetch-depth: 0
979978
persist-credentials: false
@@ -1060,7 +1059,7 @@ jobs:
10601059
egress-policy: audit
10611060

10621061
- name: Checkout
1063-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1062+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
10641063
with:
10651064
fetch-depth: 0
10661065
persist-credentials: false
@@ -1115,7 +1114,7 @@ jobs:
11151114
egress-policy: audit
11161115

11171116
- name: Checkout
1118-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1117+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
11191118
with:
11201119
fetch-depth: 0
11211120
persist-credentials: false
@@ -1156,7 +1155,7 @@ jobs:
11561155

11571156
# Necessary for signing Windows binaries.
11581157
- name: Setup Java
1159-
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
1158+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
11601159
with:
11611160
distribution: "zulu"
11621161
java-version: "11.0"
@@ -1189,14 +1188,14 @@ jobs:
11891188
# Setup GCloud for signing Windows binaries.
11901189
- name: Authenticate to Google Cloud
11911190
id: gcloud_auth
1192-
uses: google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5 # v2.1.12
1191+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
11931192
with:
11941193
workload_identity_provider: ${{ vars.GCP_CODE_SIGNING_WORKLOAD_ID_PROVIDER }}
11951194
service_account: ${{ vars.GCP_CODE_SIGNING_SERVICE_ACCOUNT }}
11961195
token_format: "access_token"
11971196

11981197
- name: Setup GCloud SDK
1199-
uses: google-github-actions/setup-gcloud@cb1e50a9932213ecece00a606661ae9ca44f3397 # v2.2.0
1198+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db # v3.0.1
12001199

12011200
- name: Download dylibs
12021201
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
@@ -1323,7 +1322,7 @@ jobs:
13231322
id: attest_main
13241323
if: github.ref == 'refs/heads/main'
13251324
continue-on-error: true
1326-
uses: actions/attest@ce27ba3b4a9a139d9a20a4a07d69fabb52f1e5bc # v2.4.0
1325+
uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0
13271326
with:
13281327
subject-name: "ghcr.io/coder/coder-preview:main"
13291328
predicate-type: "https://slsa.dev/provenance/v1"
@@ -1360,7 +1359,7 @@ jobs:
13601359
id: attest_latest
13611360
if: github.ref == 'refs/heads/main'
13621361
continue-on-error: true
1363-
uses: actions/attest@ce27ba3b4a9a139d9a20a4a07d69fabb52f1e5bc # v2.4.0
1362+
uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0
13641363
with:
13651364
subject-name: "ghcr.io/coder/coder-preview:latest"
13661365
predicate-type: "https://slsa.dev/provenance/v1"
@@ -1397,7 +1396,7 @@ jobs:
13971396
id: attest_version
13981397
if: github.ref == 'refs/heads/main'
13991398
continue-on-error: true
1400-
uses: actions/attest@ce27ba3b4a9a139d9a20a4a07d69fabb52f1e5bc # v2.4.0
1399+
uses: actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0
14011400
with:
14021401
subject-name: "ghcr.io/coder/coder-preview:${{ steps.build-docker.outputs.tag }}"
14031402
predicate-type: "https://slsa.dev/provenance/v1"
@@ -1490,19 +1489,19 @@ jobs:
14901489
egress-policy: audit
14911490

14921491
- name: Checkout
1493-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1492+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
14941493
with:
14951494
fetch-depth: 0
14961495
persist-credentials: false
14971496

14981497
- name: Authenticate to Google Cloud
1499-
uses: google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5 # v2.1.12
1498+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
15001499
with:
15011500
workload_identity_provider: ${{ vars.GCP_WORKLOAD_ID_PROVIDER }}
15021501
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}
15031502

15041503
- name: Set up Google Cloud SDK
1505-
uses: google-github-actions/setup-gcloud@cb1e50a9932213ecece00a606661ae9ca44f3397 # v2.2.0
1504+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db # v3.0.1
15061505

15071506
- name: Set up Flux CLI
15081507
uses: fluxcd/flux2/action@6bf37f6a560fd84982d67f853162e4b3c2235edb # v2.6.4
@@ -1511,7 +1510,7 @@ jobs:
15111510
version: "2.5.1"
15121511

15131512
- name: Get Cluster Credentials
1514-
uses: google-github-actions/get-gke-credentials@8e574c49425fa7efed1e74650a449bfa6a23308a # v2.3.4
1513+
uses: google-github-actions/get-gke-credentials@3da1e46a907576cefaa90c484278bb5b259dd395 # v3.0.0
15151514
with:
15161515
cluster_name: dogfood-v2
15171516
location: us-central1-a
@@ -1555,7 +1554,7 @@ jobs:
15551554
egress-policy: audit
15561555

15571556
- name: Checkout
1558-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1557+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15591558
with:
15601559
fetch-depth: 0
15611560
persist-credentials: false
@@ -1591,7 +1590,7 @@ jobs:
15911590
egress-policy: audit
15921591

15931592
- name: Checkout
1594-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1593+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15951594
with:
15961595
fetch-depth: 1
15971596
persist-credentials: false

.github/workflows/contrib.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
if: ${{ github.event_name == 'pull_request_target' && !github.event.pull_request.draft }}
5454
steps:
5555
- name: release-labels
56-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
56+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
5757
with:
5858
# This script ensures PR title and labels are in sync:
5959
#

.github/workflows/docker-base.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
egress-policy: audit
4444

4545
- name: Checkout
46-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
46+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4747
with:
4848
persist-credentials: false
4949

@@ -62,7 +62,7 @@ jobs:
6262

6363
# This uses OIDC authentication, so no auth variables are required.
6464
- name: Build base Docker image via depot.dev
65-
uses: depot/build-push-action@2583627a84956d07561420dcc1d0eb1f2af3fac0 # v1.15.0
65+
uses: depot/build-push-action@9785b135c3c76c33db102e45be96a25ab55cd507 # v1.16.2
6666
with:
6767
project: wl5hnrrkns
6868
context: base-build-context

.github/workflows/docs-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
26+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2727
with:
2828
persist-credentials: false
2929

3030
- name: Setup Node
3131
uses: ./.github/actions/setup-node
3232

33-
- uses: tj-actions/changed-files@f963b3f3562b00b6d2dd25efc390eb04e51ef6c6 # v45.0.7
33+
- uses: tj-actions/changed-files@8c14441336bb3d84fd6b7fa83b6d7201c740baf5 # v45.0.7
3434
id: changed-files
3535
with:
3636
files: |

.github/workflows/dogfood.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
egress-policy: audit
3232

3333
- name: Checkout
34-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
34+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
with:
3636
persist-credentials: false
3737

3838
- name: Setup Nix
39-
uses: nixbuild/nix-quick-install-action@63ca48f939ee3b8d835f4126562537df0fee5b91 # v32
39+
uses: nixbuild/nix-quick-install-action@1f095fee853b33114486cfdeae62fa099cda35a9 # v33
4040
with:
4141
# Pinning to 2.28 here, as Nix gets a "error: [json.exception.type_error.302] type must be array, but is string"
4242
# on version 2.29 and above.
@@ -88,7 +88,7 @@ jobs:
8888
password: ${{ secrets.DOCKERHUB_PASSWORD }}
8989

9090
- name: Build and push Non-Nix image
91-
uses: depot/build-push-action@2583627a84956d07561420dcc1d0eb1f2af3fac0 # v1.15.0
91+
uses: depot/build-push-action@9785b135c3c76c33db102e45be96a25ab55cd507 # v1.16.2
9292
with:
9393
project: b4q6ltmpzh
9494
token: ${{ secrets.DEPOT_TOKEN }}
@@ -130,15 +130,15 @@ jobs:
130130
egress-policy: audit
131131

132132
- name: Checkout
133-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
133+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
134134
with:
135135
persist-credentials: false
136136

137137
- name: Setup Terraform
138138
uses: ./.github/actions/setup-tf
139139

140140
- name: Authenticate to Google Cloud
141-
uses: google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5 # v2.1.12
141+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
142142
with:
143143
workload_identity_provider: ${{ vars.GCP_WORKLOAD_ID_PROVIDER }}
144144
service_account: ${{ vars.GCP_SERVICE_ACCOUNT }}

0 commit comments

Comments
 (0)