Skip to content

Commit

Permalink
Move go mod tidy to run in sync_protos (#911)
Browse files Browse the repository at this point in the history
Signed-off-by: Sunjay Bhatia <[email protected]>
  • Loading branch information
sunjayBhatia authored Mar 26, 2024
1 parent 9b17fa7 commit 363e6e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ci/sync_envoy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ build_protos () {
cd "${ENVOY_SRC_DIR}" || exit 1
./ci/do_ci.sh api.go
cd - || exit 1
go mod tidy
}

get_last_envoy_sha () {
Expand All @@ -46,6 +45,8 @@ sync_protos () {
cp -a "$envoy_src" "$src"
git add "$src"
done
go mod tidy
git add go.mod go.sum
}

commit_changes () {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/census-instrumentation/opencensus-proto v0.4.1
github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa
github.com/envoyproxy/protoc-gen-validate v1.0.4
github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.6.0
github.com/planetscale/vtprotobuf v0.5.1-0.20231212170721-e7d721933795
github.com/prometheus/client_model v0.6.0
Expand All @@ -20,6 +19,7 @@ require (

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/net v0.20.0 // indirect
Expand Down

0 comments on commit 363e6e2

Please sign in to comment.