Skip to content

Commit

Permalink
Update CI to Go 1.23, remove exception for fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Oct 30, 2024
1 parent b7406c0 commit e00e8e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"test": {
"strategy": {
"matrix": {
"go-version": ["1.18.x", "1.22.x"],
"go-version": ["1.18.x", "1.23.x"],
"os": ["ubuntu-latest", "macos-latest", "windows-latest"]
}
},
"runs-on": "${{ matrix.os }}",
"env": {"GOPROXY": "direct"},
"steps": [{
"name": "Install Go",
"uses": "actions/setup-go@v3",
"uses": "actions/setup-go@v4",
"with": {"go-version": "${{ matrix.go-version }}"}
}, {
"name": "Checkout code",
"uses": "actions/checkout@v3"
"uses": "actions/checkout@v4"
}, {
"name": "Test",
"run": "go test -race ./..."
Expand Down
6 changes: 0 additions & 6 deletions ossfuzz/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package ossfuzz
import (
"bytes"
"fmt"
"strings"

"github.com/BurntSushi/toml"
)
Expand All @@ -28,11 +27,6 @@ func FuzzToml(data []byte) int {
var v2 any
_, err = toml.Decode(buf.String(), &v2)
if err != nil {
// TODO(manunio): remove this when 1.23 lands, see #407.
if strings.Contains(err.Error(), "invalid datetime") {
return 0
}

panic(fmt.Sprintf("failed round trip: %s", err))
}

Expand Down

0 comments on commit e00e8e2

Please sign in to comment.