Skip to content

Commit

Permalink
CI: use Go 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <[email protected]>
  • Loading branch information
florianl committed Oct 11, 2024
1 parent e71bac0 commit 10c58fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.20.x, 1.21.x, 1.22.x]
go-version: [1.13.x, 1.22.x, 1.23.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
exclude:
# There is no arm64 version of Go for darwin
Expand All @@ -27,7 +27,7 @@ jobs:
go-version: ${{ matrix.go-version }}

- name: Ensure gofmt formatting
if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.22')
if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.23')
run: |
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
Expand All @@ -40,13 +40,13 @@ jobs:
run: go test -race -count=1 ./...

- name: Integration test
if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.22')
if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.23')
run: go test -v -tags integration -exec=sudo -count=1 ./...

- name: staticcheck.io
if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.22')
if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.23')
uses: dominikh/[email protected]
with:
version: "2023.1.7"
version: "2024.1.1"
install-go: false
cache-key: ${{ matrix.go }}

0 comments on commit 10c58fa

Please sign in to comment.