Skip to content

Commit 17607a9

Browse files
committed
GH Actions: updated to Go 1.22
1 parent b77874f commit 17607a9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/go.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
go: ['1.20.x', '1.21.x']
17+
go: ['1.21.x', '1.22.x']
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Set up Go
22-
uses: actions/setup-go@v3
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version: ${{ matrix.go }}
2525

@@ -36,7 +36,7 @@ jobs:
3636
run: go test -race -v ./...
3737

3838
- name: Coveralls
39-
if: ${{ startsWith(matrix.go, '1.21') && github.event_name == 'push' }}
39+
if: ${{ startsWith(matrix.go, '1.22') && github.event_name == 'push' }}
4040
env:
4141
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
run: |

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Go
20-
uses: actions/setup-go@v3
20+
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.x
22+
go-version: 1.22.x
2323
- name: Run GoReleaser
24-
uses: goreleaser/goreleaser-action@v3
24+
uses: goreleaser/goreleaser-action@v5
2525
with:
2626
distribution: goreleaser
2727
version: latest

0 commit comments

Comments
 (0)