Skip to content

Commit

Permalink
add Go 1.23.x, drop 1.21.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Aug 16, 2024
1 parent 56ce6c4 commit 9166499
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
go-version: [1.22.x, 1.23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -17,7 +17,7 @@ jobs:

# Static checks from this point forward. Only run on one Go version and on
# Linux, since it's the fastest platform, and the tools behave the same.
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22.x'
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x'
run: diff <(echo -n) <(gofmt -s -d .)
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22.x'
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x'
run: go vet ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# benchinit

Benchmark the initialization cost of your packages or programs.
Requires Go 1.21 or later.
Requires Go 1.22 or later.

go install mvdan.cc/benchinit@latest

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module mvdan.cc/benchinit

go 1.21
go 1.22

require (
github.com/rogpeppe/go-internal v1.12.0
Expand Down

0 comments on commit 9166499

Please sign in to comment.