Skip to content

Commit

Permalink
ci: Update arduino/setup-protoc to v2.0.0 (#295)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bflad committed Jun 9, 2023
1 parent 2c0a2bd commit afce8a4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
- go.sum
- 'tfprotov5/internal/tfplugin5/*'
- 'tfprotov6/internal/tfplugin6/*'
- tools/go.mod
- tools/go.sum

permissions:
contents: read
Expand All @@ -21,15 +23,13 @@ jobs:
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version-file: 'go.mod'
- uses: arduino/setup-protoc@v1
- uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9 # v2.0.0
with:
# The version string is embedded in protoc generated files, so it is
# pinned here to prevent unexpected differences. Follow the
# https://github.com/protocolbuffers/protobuf repository for protoc
# release updates.
# NOTE: Cannot yet update to version >= 21 due to:
# https://github.com/arduino/setup-protoc/issues/33
version: '3.19.4'
version: '23.2'
- run: go mod download
- run: make tools
- run: make protoc
Expand Down
2 changes: 1 addition & 1 deletion tfprotov5/internal/tfplugin5/tfplugin5.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tfprotov6/internal/tfplugin6/tfplugin6.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit afce8a4

Please sign in to comment.