Skip to content

Commit 5f89729

Browse files
committed
Change setup actions too
1 parent 4de5bae commit 5f89729

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/ci.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
uses: actions/checkout@v3
3838

3939
# Install Go!
40-
- uses: actions/setup-go@v4
40+
- uses: buildjet/setup-go@v4
4141
with:
4242
go-version: ${{ env.CODER_GO_VERSION }}
43+
cache: go
4344

4445
# Check for any typos!
4546
- name: Check for typos
@@ -152,7 +153,7 @@ jobs:
152153
- name: Install node_modules
153154
run: ./scripts/yarn_install.sh
154155

155-
- uses: actions/setup-go@v4
156+
- uses: buildjet/setup-go@v4
156157
with:
157158
cache: false
158159
go-version: ${{ env.CODER_GO_VERSION }}
@@ -255,7 +256,7 @@ jobs:
255256
steps:
256257
- uses: actions/checkout@v3
257258

258-
- uses: actions/setup-go@v4
259+
- uses: buildjet/setup-go@v4
259260
with:
260261
cache: false
261262
go-version: ${{ env.CODER_GO_VERSION }}
@@ -344,7 +345,7 @@ jobs:
344345
steps:
345346
- uses: actions/checkout@v3
346347

347-
- uses: actions/setup-go@v4
348+
- uses: buildjet/setup-go@v4
348349
with:
349350
cache: false
350351
go-version: ${{ env.CODER_GO_VERSION }}
@@ -436,7 +437,7 @@ jobs:
436437
- name: Set up Google Cloud SDK
437438
uses: google-github-actions/setup-gcloud@v1
438439

439-
- uses: actions/setup-go@v4
440+
- uses: buildjet/setup-go@v4
440441
with:
441442
cache: false
442443
go-version: ${{ env.CODER_GO_VERSION }}
@@ -548,7 +549,7 @@ jobs:
548549
restore-keys: |
549550
js-${{ runner.os }}-
550551
551-
- uses: actions/setup-node@v3
552+
- uses: buildjet/setup-node@v3
552553
with:
553554
node-version: "16.16.0"
554555

@@ -588,7 +589,7 @@ jobs:
588589
.eslintcache
589590
key: js-${{ runner.os }}-e2e-${{ hashFiles('**/yarn.lock') }}
590591

591-
- uses: actions/setup-go@v4
592+
- uses: buildjet/setup-go@v4
592593
with:
593594
cache: false
594595
go-version: ${{ env.CODER_GO_VERSION }}
@@ -598,7 +599,7 @@ jobs:
598599
terraform_version: 1.1.9
599600
terraform_wrapper: false
600601

601-
- uses: actions/setup-node@v3
602+
- uses: buildjet/setup-node@v3
602603
with:
603604
node-version: "16.16.0"
604605

@@ -654,7 +655,7 @@ jobs:
654655
# only get 1 commit on shallow checkout.
655656
fetch-depth: 0
656657

657-
- uses: actions/setup-node@v3
658+
- uses: buildjet/setup-node@v3
658659
with:
659660
node-version: "16.16.0"
660661

.github/workflows/release.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ jobs:
9898
username: ${{ github.actor }}
9999
password: ${{ secrets.GITHUB_TOKEN }}
100100

101-
- uses: actions/setup-go@v4
101+
- uses: buildjet/setup-go@v4
102102
with:
103103
go-version: ${{ env.CODER_GO_VERSION }}
104+
cache: go
104105

105106
- name: Cache Node
106107
id: cache-node

.github/workflows/security.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
languages: go, javascript
3434

3535
- name: Setup Go
36-
uses: actions/setup-go@v4
36+
uses: buildjet/setup-go@v4
3737
with:
3838
go-version: ${{ env.CODER_GO_VERSION }}
3939

@@ -63,9 +63,10 @@ jobs:
6363
with:
6464
fetch-depth: 0
6565

66-
- uses: actions/setup-go@v4
66+
- uses: buildjet/setup-go@v4
6767
with:
6868
go-version: ${{ env.CODER_GO_VERSION }}
69+
cache: go
6970

7071
- name: Cache Node
7172
id: cache-node

0 commit comments

Comments
 (0)