Skip to content

Commit

Permalink
apd: add go 1.23 testing to CI
Browse files Browse the repository at this point in the history
This commit adds a test variant for go 1.23.
  • Loading branch information
nvanbenschoten committed Aug 14, 2024
1 parent 3757f22 commit 137c9cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- '1.20'
- '1.21'
- '1.22'
- '1.23'

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -62,10 +63,10 @@ jobs:
run: go vet -unsafeptr=false ./...

- name: 'Staticcheck'
# staticcheck requires go1.19.
if: ${{ matrix.arch == 'x64' && matrix.go >= '1.19' }}
# staticcheck requires go1.22.
if: ${{ matrix.arch == 'x64' && matrix.go >= '1.22' }}
run: |
go install honnef.co/go/tools/cmd/staticcheck@v0.4.3
go install honnef.co/go/tools/cmd/staticcheck@v0.5.0
staticcheck ./...
- name: 'GCAssert'
Expand Down
2 changes: 1 addition & 1 deletion bigint_go1.15_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestBigIntFillBytes(t *testing.T) {
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
} {
t.Run(n, func(t *testing.T) {
t.Logf(n)
t.Log(n)
x, ok := new(BigInt).SetString(n, 0)
if !ok {
panic("invalid test entry")
Expand Down

0 comments on commit 137c9cd

Please sign in to comment.