Skip to content

Commit

Permalink
Test against go1.20 (drop 1.17 and 1.18).. (#98)
Browse files Browse the repository at this point in the history
As part of this change, also upgrade the actions to the latest major
versions.

This also fixes a typo in the tools/go.mod.
  • Loading branch information
prashantv authored Feb 12, 2023
1 parent 1f9f3ff commit 69e02ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.17.x", "1.18.x", "1.19.x"]
go: ["1.19.x", "1.20.x"]
include:
- go: 1.19.x
- go: 1.20.x
latest: true

steps:
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module go.uber.org/revive
module go.uber.org/goleak/tools

go 1.18

Expand Down

0 comments on commit 69e02ef

Please sign in to comment.