Skip to content

Commit e4a94d2

Browse files
committed
.github/workflows: fix wiki.yml
wiki.yml workflow checks out both vscode-go and vscode-go.wiki repos. This confuses actions/setup-go@v3 caching mechanism and we ended up getting errors like ``` Dependencies file is not found in /home/runner/work/vscode-go/vscode-go. Supported file pattern: go.sum ``` Tweak the configuration to search for go.sum files. And trigger the workflow if this workflow file on master is changed. Change-Id: I8762f1f21d1180b605431f400ead3cfe37bebf83 Change-Id: I8762f1f21d1180b605431f400ead3cfe37bebf83 GitHub-Last-Rev: 7984e1e GitHub-Pull-Request: #2386 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/420634 Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Suzy Mueller <suzmue@golang.org>
1 parent 84fe4e7 commit e4a94d2

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.github/workflows/release-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Go
3030
uses: actions/setup-go@v3
3131
with:
32-
go-version: '1.18'
32+
go-version: '1.19'
3333
check-latest: true
3434
cache: true
3535

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest, macos-latest]
1919
version: ['stable', 'insiders']
20-
go: ['1.16', '1.17', '1.18', '1.19.0-rc.2']
20+
go: ['1.16', '1.17', '1.18', '1.19']
2121

2222
steps:
2323
- name: Clone repository

.github/workflows/test-long.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest] # TODO: reenable macos-latest
1818
version: ['stable']
19-
go: ['1.16', '1.17', '1.18', '1.19.0-rc.2']
19+
go: ['1.16', '1.17', '1.18', '1.19']
2020

2121
steps:
2222
- name: Clone repository

.github/workflows/test-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Go
3131
uses: actions/setup-go@v3
3232
with:
33-
go-version: '1.19.0-rc.2'
33+
go-version: '1.19.0'
3434
check-latest: true
3535
cache: true
3636

.github/workflows/wiki.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches: [ master ]
77
paths:
88
- 'docs/**'
9+
- '.github/workflows/wiki.yml'
910

1011
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1112
permissions:
@@ -34,9 +35,11 @@ jobs:
3435
- name: Setup Go
3536
uses: actions/setup-go@v3
3637
with:
37-
go-version: '1.18'
38+
go-version: '1.19'
3839
check-latest: true
3940
cache: true
41+
cache-dependency-path: '**/go.sum'
42+
4043
- name: Push to wiki
4144
run: |
4245
cd vscode-go

0 commit comments

Comments
 (0)