Skip to content

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

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

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

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.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.
version: '25.1'
- 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)