Skip to content

Commit

Permalink
Test with Go 1.21 and later
Browse files Browse the repository at this point in the history
Something ends up requiring the slices package, which was added in Go
1.21.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt committed Oct 8, 2024
1 parent c3772b5 commit 9934139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
strategy:
matrix:
go-versions: [1.16.x, 1.17.x, 1.18.x, 1.19.x]
go-versions: [1.21.x, 1.22.x, 1.23.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -18,7 +18,7 @@ jobs:
with:
go-version: ${{ matrix.go-versions }}
- name: Install
run: GO111MODULE=off go get golang.org/x/lint/golint
run: go install golang.org/x/lint/golint@latest
- name: Run gofmt
run: diff -u <(echo -n) <(gofmt -d *.go)
- name: Run golint
Expand Down

0 comments on commit 9934139

Please sign in to comment.