diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4bff0cc..f061017 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ "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"] } }, @@ -13,11 +13,11 @@ "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 ./..." diff --git a/ossfuzz/fuzz.go b/ossfuzz/fuzz.go index 755f82c..6a29773 100644 --- a/ossfuzz/fuzz.go +++ b/ossfuzz/fuzz.go @@ -3,7 +3,6 @@ package ossfuzz import ( "bytes" "fmt" - "strings" "github.com/BurntSushi/toml" ) @@ -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)) }