Skip to content

Commit afce8a4

Browse files
authored
ci: Update arduino/setup-protoc to v2.0.0 (#295)
Pinning to latest workflow major version, which supports recent `protoc` version updates after upstream release changes and runs on NodeJS 16 which removes that deprecation warning.
1 parent 2c0a2bd commit afce8a4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/ci-protobuf.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- go.sum
1010
- 'tfprotov5/internal/tfplugin5/*'
1111
- 'tfprotov6/internal/tfplugin6/*'
12+
- tools/go.mod
13+
- tools/go.sum
1214

1315
permissions:
1416
contents: read
@@ -21,15 +23,13 @@ jobs:
2123
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
2224
with:
2325
go-version-file: 'go.mod'
24-
- uses: arduino/setup-protoc@v1
26+
- uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9 # v2.0.0
2527
with:
2628
# The version string is embedded in protoc generated files, so it is
2729
# pinned here to prevent unexpected differences. Follow the
2830
# https://github.com/protocolbuffers/protobuf repository for protoc
2931
# release updates.
30-
# NOTE: Cannot yet update to version >= 21 due to:
31-
# https://github.com/arduino/setup-protoc/issues/33
32-
version: '3.19.4'
32+
version: '23.2'
3333
- run: go mod download
3434
- run: make tools
3535
- run: make protoc

tfprotov5/internal/tfplugin5/tfplugin5.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tfprotov6/internal/tfplugin6/tfplugin6.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)