Skip to content

Commit e00e8e2

Browse files
committed
Update CI to Go 1.23, remove exception for fuzzer
1 parent b7406c0 commit e00e8e2

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
"test": {
66
"strategy": {
77
"matrix": {
8-
"go-version": ["1.18.x", "1.22.x"],
8+
"go-version": ["1.18.x", "1.23.x"],
99
"os": ["ubuntu-latest", "macos-latest", "windows-latest"]
1010
}
1111
},
1212
"runs-on": "${{ matrix.os }}",
1313
"env": {"GOPROXY": "direct"},
1414
"steps": [{
1515
"name": "Install Go",
16-
"uses": "actions/setup-go@v3",
16+
"uses": "actions/setup-go@v4",
1717
"with": {"go-version": "${{ matrix.go-version }}"}
1818
}, {
1919
"name": "Checkout code",
20-
"uses": "actions/checkout@v3"
20+
"uses": "actions/checkout@v4"
2121
}, {
2222
"name": "Test",
2323
"run": "go test -race ./..."

ossfuzz/fuzz.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package ossfuzz
33
import (
44
"bytes"
55
"fmt"
6-
"strings"
76

87
"github.com/BurntSushi/toml"
98
)
@@ -28,11 +27,6 @@ func FuzzToml(data []byte) int {
2827
var v2 any
2928
_, err = toml.Decode(buf.String(), &v2)
3029
if err != nil {
31-
// TODO(manunio): remove this when 1.23 lands, see #407.
32-
if strings.Contains(err.Error(), "invalid datetime") {
33-
return 0
34-
}
35-
3630
panic(fmt.Sprintf("failed round trip: %s", err))
3731
}
3832

0 commit comments

Comments
 (0)