Skip to content

Commit 8f00384

Browse files
committed
Update GitHub setup-go action to v4
Update setup-go and read Go version from go.mod.
1 parent a5e491d commit 8f00384

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/nightly-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v3
2727
- name: Setup Go
28-
uses: actions/setup-go@v2
28+
uses: actions/setup-go@v4
2929
with:
30-
go-version: 1.19.x
30+
go-version-file: 'go.mod'
3131
- name: Install dependencies
3232
run: |
3333
sudo apt update -qq

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v3
1313
- name: Setup Go
14-
uses: actions/setup-go@v2
14+
uses: actions/setup-go@v4
1515
with:
16-
go-version: 1.19.x
16+
go-version-file: 'go.mod'
1717
- name: Install dependencies
1818
run: |
1919
sudo apt update -qq

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v3
1414
- name: Setup Go
15-
uses: actions/setup-go@v2
15+
uses: actions/setup-go@v4
1616
with:
17-
go-version: 1.19.x
17+
go-version-file: 'go.mod'
1818
- name: Install dependencies
1919
run: |
2020
sudo apt update -qq

0 commit comments

Comments
 (0)