Skip to content

Commit d386b79

Browse files
committed
Test with Go 1.23, stop testing with 1.21
1 parent 397874b commit d386b79

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version-file: "go.mod"
21+
go-version: "1.23"
2222
- uses: golangci/golangci-lint-action@v6
2323
with:
2424
version: v1.61.0

.github/workflows/govulncheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
steps:
2020
- uses: golang/govulncheck-action@v1
2121
with:
22-
go-version-file: "go.mod"
22+
go-version-input: "1.23"
2323
go-package: ./...

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version-file: "go.mod"
21+
go-version: "1.23"
2222
- run: |
2323
gofmt -d .
2424
test -z $(gofmt -l .)

.github/workflows/staticcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version-file: "go.mod"
21+
go-version: "1.23"
2222
- run: go install honnef.co/go/tools/cmd/staticcheck@latest
2323
- run: $(go env GOPATH)/bin/staticcheck ./...

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
goVer:
20-
- "1.21"
19+
go-version:
2120
- "1.22"
21+
- "1.23"
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-go@v5
2525
with:
26-
go-version: ${{ matrix.goVer }}
26+
go-version: ${{ matrix.go-version }}
2727
- run: go test -v -coverprofile="coverage.out" ./...
2828
- run: go tool cover -func="coverage.out"
2929
- uses: vladopajic/[email protected]

0 commit comments

Comments
 (0)