Skip to content

Commit c6bfee8

Browse files
committed
.github/workflows: upgrade to v4 github actions
The latest setup-go@v4 action has a workaround that makes faster cache checkout on windows. Reduces the latency from over 1~2minutes in Setup Go step to <40secs. Change-Id: Ib59503b6c2f7c0d6ac30d1477bfa7264e1ec4d58 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/544496 Commit-Queue: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]> TryBot-Result: kokoro <[email protected]>
1 parent e864a1e commit c6bfee8

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/release-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818

1919
steps:
2020
- name: Clone repository
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Setup Node
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: '18'
2727
cache: 'npm'
2828

2929
- name: Setup Go
30-
uses: actions/setup-go@v3
30+
uses: actions/setup-go@v4
3131
with:
3232
go-version: '1.21'
3333
check-latest: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838

3939
steps:
4040
- name: Clone repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
- name: Setup Node
44-
uses: actions/setup-node@v3
44+
uses: actions/setup-node@v4
4545
with:
4646
node-version: '18'
4747
cache: 'npm'

.github/workflows/test-long-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121

2222
steps:
2323
- name: Clone repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Setup Node
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: '18'
3030
cache: 'npm'
3131

3232
- name: Setup Go
33-
uses: actions/setup-go@v3
33+
uses: actions/setup-go@v4
3434
with:
3535
go-version: ${{ matrix.go }}
3636
check-latest: true

.github/workflows/test-long.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020

2121
steps:
2222
- name: Clone repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Setup Node
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: '18'
2929
cache: 'npm'
3030

3131
- name: Setup Go
32-
uses: actions/setup-go@v3
32+
uses: actions/setup-go@v4
3333
with:
3434
go-version: ${{ matrix.go }}
3535
check-latest: true

.github/workflows/test-smoke.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919

2020
steps:
2121
- name: Clone repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Setup Node
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: '18'
2828
cache: 'npm'
2929

3030
- name: Setup Go
31-
uses: actions/setup-go@v3
31+
uses: actions/setup-go@v4
3232
with:
3333
go-version: '1.21'
3434
check-latest: true

.github/workflows/wiki.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2626
- name: Checkout vscode-go repo code
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
path: vscode-go
3030
- name: Checkout vscode-go.wiki repo code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
repository: ${{github.repository}}.wiki
3434
path: wiki
3535
- name: Setup Go
36-
uses: actions/setup-go@v3
36+
uses: actions/setup-go@v4
3737
with:
3838
go-version: '1.21'
3939
check-latest: true

0 commit comments

Comments
 (0)