Skip to content

Commit

Permalink
update go protoc and versions of go deps
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Jan 16, 2025
1 parent 6943fff commit d964328
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.22
go-version: 1.23
- name: Fetch dependencies
run: |
cd gopath/github.com/katydid/testsuite
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ regenerate-tests:
(cd validator && make regenerate-tests)

regenerate-all:
(cd validator && make regenerate)
(cd validator && make regenerate-all)
10 changes: 7 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
module github.com/katydid/testsuite

go 1.22
go 1.23

require (
github.com/gogo/protobuf v1.3.2
github.com/katydid/validator-go v0.4.0
github.com/katydid/validator-gogo-proto v0.4.0
github.com/katydid/parser-go-json v0.1.0
github.com/katydid/parser-go-xml v0.1.0
github.com/katydid/parser-gogo-proto v0.2.0
github.com/katydid/validator-go v0.5.1
)

require github.com/katydid/parser-go v0.6.0 // indirect
14 changes: 10 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/katydid/validator-go v0.4.0 h1:7rEZy9bYzmT0FG5RaCV2Eextn+C3+Bnh6mAvof82yFg=
github.com/katydid/validator-go v0.4.0/go.mod h1:4kIOmsQyfSJMtELzYrfMPlyIar1HpHgYBUefJNIHl+Y=
github.com/katydid/validator-gogo-proto v0.4.0 h1:5/xgFDbSl4iNLO/8U3qkgSFGWYHUMtQnXurI/dC3eos=
github.com/katydid/validator-gogo-proto v0.4.0/go.mod h1:VeLiECcVV7ol40oYcwNqKXsOmUaSuwrCdm+adFHEQlA=
github.com/katydid/parser-go v0.6.0 h1:8VFYXEp9pZsq4CCxYLDavPPqOSX+JXsmhjfU4XMB8iw=
github.com/katydid/parser-go v0.6.0/go.mod h1:1BwRfDlyRgDlAaURZ4FXi7IzHqWKTsrCdsstLsFeQho=
github.com/katydid/parser-go-json v0.1.0 h1:r3+YkDtf9A4JYO+MrdQsN2azxITrgO+2Sc5SSNhp+YI=
github.com/katydid/parser-go-json v0.1.0/go.mod h1:iLjxtkGLdPROUPBHZAhOTIdQerUPl/FEplS10rlq9Nc=
github.com/katydid/parser-go-xml v0.1.0 h1:8AL0X9hQbNLbQeqRbOdKBOwx4WTSWjy7kxEMmWqHMXc=
github.com/katydid/parser-go-xml v0.1.0/go.mod h1:7rEHS3YuEv/8/ep+uQnLgcvT1znZs8JEc3ZaBbpygjA=
github.com/katydid/parser-gogo-proto v0.2.0 h1:zUpdli98aYSQY1mvzbysNkk/41jPB25W4NiRXocI/Kg=
github.com/katydid/parser-gogo-proto v0.2.0/go.mod h1:AH9y+kby4gN4o8w3MHDn6EX4SjrviWycnFjvEr/o1Ho=
github.com/katydid/validator-go v0.5.1 h1:XgLkSO62OFjcS7hmN8RTj0gHpMBdYRTAkiVtM59SV7E=
github.com/katydid/validator-go v0.5.1/go.mod h1:ZVsNg5NEwcOJT2ukTrCu/jKKuNiTRS/4sw4cMNr9vh8=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
4 changes: 2 additions & 2 deletions install_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -ex

cd ${HOME}

basename=protoc-3.14.0-linux-x86_64
wget https://github.com/google/protobuf/releases/download/v3.14.0/$basename.zip
basename=protoc-29.3-linux-x86_64
wget https://github.com/protocolbuffers/protobuf/releases/download/v29.3/$basename.zip
unzip $basename.zip
6 changes: 3 additions & 3 deletions validator/gen-validator-tests/bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import (

"github.com/gogo/protobuf/proto"

jsonparser "github.com/katydid/validator-go/parser/json"
xmlparser "github.com/katydid/validator-go/parser/xml"
jsonparser "github.com/katydid/parser-go-json/json"
xmlparser "github.com/katydid/parser-go-xml/xml"
protoparser "github.com/katydid/parser-gogo-proto/proto"
"github.com/katydid/validator-go/validator"
"github.com/katydid/validator-go/validator/ast"
"github.com/katydid/validator-go/validator/combinator"
protoparser "github.com/katydid/validator-gogo-proto/parser/proto"
)

type BenchValidator struct {
Expand Down
Binary file modified validator/tests/pb/BananaLargeMatch/valid.main.BananaTuple.desc.pb
Binary file not shown.

0 comments on commit d964328

Please sign in to comment.