File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,14 +17,18 @@ jobs:
1717 - uses : actions/setup-go@v6
1818 with :
1919 go-version : ' 1.26.x'
20+ - name : Install Protoc
21+ uses : arduino/setup-protoc@v3
22+ with :
23+ version : " 25.7"
2024 - name : Install tools
2125 run : |
22- go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11 && \
23- go install google.golang.org/grpc/ cmd/protoc-gen-go-grpc@v1.3.0 && \
24- go install github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic@v0.57.0 && \
25- go install golang.org/x/tools/cmd/goimports@latest
26- - name : Regeneration
27- run : ./.github/workflows/regenerate.sh
26+ version=$(sed -n 's/^version: *//p' librarian.yaml)
27+ go run "github.com/googleapis/librarian/ cmd/librarian@${version}" install
28+ - name : Regenerate
29+ run : |
30+ version=$(sed -n 's/^version: *//p' librarian.yaml)
31+ go run "github.com/googleapis/librarian/cmd/librarian@${version}" generate -all
2832 - name : Create issue on diff
2933 if : failure()
3034 env :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments