Skip to content

Commit

Permalink
fix: update to the latest patch version of go v1.17 (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Mar 4, 2023
1 parent dfbde80 commit 8eb1a06
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
branches:
- main

env:
GO_VERSION: '1.17.9'

permissions:
contents: read # to fetch code (actions/checkout)

Expand All @@ -22,7 +19,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- run: make test
Expand All @@ -35,7 +32,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- run: make test
Expand All @@ -48,7 +45,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- run: make test
Expand All @@ -62,7 +59,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
tags:
- 'v*'

env:
GO_VERSION: '1.17.9'

permissions:
contents: read # to fetch code (actions/checkout)

Expand All @@ -21,7 +18,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- run: make test
Expand All @@ -34,7 +31,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- run: make test
Expand All @@ -47,7 +44,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- run: make test
Expand All @@ -60,7 +57,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down Expand Up @@ -89,7 +86,7 @@ jobs:
- run: git fetch --prune --unshallow
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true

- name: Run GoReleaser
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.9
1.17.13

0 comments on commit 8eb1a06

Please sign in to comment.