Skip to content

build(deps): Bump github.com/hashicorp/copywrite from 0.25.1 to 0.25.2 in /tools #585

build(deps): Bump github.com/hashicorp/copywrite from 0.25.1 to 0.25.2 in /tools

build(deps): Bump github.com/hashicorp/copywrite from 0.25.1 to 0.25.2 in /tools #585

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: './tools/go.mod'
- run: go mod download
- run: make protobuf
- name: git diff
run: |
git diff --compact-summary --exit-code ./tfprotov5/internal/tfplugin5 ./tfprotov6/internal/tfplugin6 || \
(echo; git diff ./tfprotov5/internal/tfplugin5 ./tfprotov6/internal/tfplugin6; echo; echo "Unexpected difference in directories after code generation. Run 'make protobuf' command and commit."; exit 1)