Skip to content

build(deps): Bump golang.org/x/net from 0.10.0 to 0.17.0 in /tools #161

build(deps): Bump golang.org/x/net from 0.10.0 to 0.17.0 in /tools

build(deps): Bump golang.org/x/net from 0.10.0 to 0.17.0 in /tools #161

Workflow file for this run

# Continuous integration handling for Protocol Buffers
name: ci-protobuf
on:
pull_request:
paths:
- .github/workflows/ci-protobuf.yml
- go.mod
- go.sum
- 'tfprotov5/internal/tfplugin5/*'
- 'tfprotov6/internal/tfplugin6/*'
- tools/go.mod
- tools/go.sum
permissions:
contents: read
jobs:
protoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: 'go.mod'
- uses: arduino/setup-protoc@a8b67ba40b37d35169e222f3bb352603327985b6 # v2.1.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.
version: '23.2'
- run: go mod download
- run: make tools
- run: make protoc
- name: git diff
run: |
git diff --compact-summary --exit-code || \
(echo; git diff; echo; echo "Unexpected difference in directories after code generation. Run 'protoc' command and commit."; exit 1)