Skip to content

Commit 8eb1a06

Browse files
authored
fix: update to the latest patch version of go v1.17 (#178)
1 parent dfbde80 commit 8eb1a06

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

Diff for: .github/workflows/checks.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
branches:
77
- main
88

9-
env:
10-
GO_VERSION: '1.17.9'
11-
129
permissions:
1310
contents: read # to fetch code (actions/checkout)
1411

@@ -22,7 +19,7 @@ jobs:
2219
persist-credentials: false
2320
- uses: actions/setup-go@v3
2421
with:
25-
go-version: ${{ env.GO_VERSION }}
22+
go-version-file: .go-version
2623
cache: true
2724

2825
- run: make test
@@ -35,7 +32,7 @@ jobs:
3532
persist-credentials: false
3633
- uses: actions/setup-go@v3
3734
with:
38-
go-version: ${{ env.GO_VERSION }}
35+
go-version-file: .go-version
3936
cache: true
4037

4138
- run: make test
@@ -48,7 +45,7 @@ jobs:
4845
persist-credentials: false
4946
- uses: actions/setup-go@v3
5047
with:
51-
go-version: ${{ env.GO_VERSION }}
48+
go-version-file: .go-version
5249
cache: true
5350

5451
- run: make test
@@ -62,7 +59,7 @@ jobs:
6259

6360
- uses: actions/setup-go@v3
6461
with:
65-
go-version: ${{ env.GO_VERSION }}
62+
go-version-file: .go-version
6663

6764
- name: Run golangci-lint
6865
uses: golangci/golangci-lint-action@v3

Diff for: .github/workflows/release.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
tags:
66
- 'v*'
77

8-
env:
9-
GO_VERSION: '1.17.9'
10-
118
permissions:
129
contents: read # to fetch code (actions/checkout)
1310

@@ -21,7 +18,7 @@ jobs:
2118
persist-credentials: false
2219
- uses: actions/setup-go@v3
2320
with:
24-
go-version: ${{ env.GO_VERSION }}
21+
go-version-file: .go-version
2522
cache: true
2623

2724
- run: make test
@@ -34,7 +31,7 @@ jobs:
3431
persist-credentials: false
3532
- uses: actions/setup-go@v3
3633
with:
37-
go-version: ${{ env.GO_VERSION }}
34+
go-version-file: .go-version
3835
cache: true
3936

4037
- run: make test
@@ -47,7 +44,7 @@ jobs:
4744
persist-credentials: false
4845
- uses: actions/setup-go@v3
4946
with:
50-
go-version: ${{ env.GO_VERSION }}
47+
go-version-file: .go-version
5148
cache: true
5249

5350
- run: make test
@@ -60,7 +57,7 @@ jobs:
6057

6158
- uses: actions/setup-go@v3
6259
with:
63-
go-version: ${{ env.GO_VERSION }}
60+
go-version-file: .go-version
6461

6562
- name: Run golangci-lint
6663
uses: golangci/golangci-lint-action@v3
@@ -89,7 +86,7 @@ jobs:
8986
- run: git fetch --prune --unshallow
9087
- uses: actions/setup-go@v3
9188
with:
92-
go-version: ${{ env.GO_VERSION }}
89+
go-version-file: .go-version
9390
cache: true
9491

9592
- name: Run GoReleaser

Diff for: .go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17.9
1+
1.17.13

0 commit comments

Comments
 (0)