Skip to content

Commit 69e02ef

Browse files
authored
Test against go1.20 (drop 1.17 and 1.18).. (#98)
As part of this change, also upgrade the actions to the latest major versions. This also fixes a typo in the tools/go.mod.
1 parent 1f9f3ff commit 69e02ef

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
go: ["1.17.x", "1.18.x", "1.19.x"]
16+
go: ["1.19.x", "1.20.x"]
1717
include:
18-
- go: 1.19.x
18+
- go: 1.20.x
1919
latest: true
2020

2121
steps:
2222
- name: Setup Go
23-
uses: actions/setup-go@v2
23+
uses: actions/setup-go@v3
2424
with:
2525
go-version: ${{ matrix.go }}
2626

2727
- name: Checkout code
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929

3030
- name: Load cached dependencies
31-
uses: actions/cache@v1
31+
uses: actions/cache@v3
3232
with:
3333
path: ~/go/pkg/mod
3434
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -46,4 +46,4 @@ jobs:
4646
run: make cover
4747

4848
- name: Upload coverage to codecov.io
49-
uses: codecov/codecov-action@v1
49+
uses: codecov/codecov-action@v3

tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module go.uber.org/revive
1+
module go.uber.org/goleak/tools
22

33
go 1.18
44

0 commit comments

Comments
 (0)