From bdae45907b0b11c171ba14731e0cf47e3ed5d820 Mon Sep 17 00:00:00 2001 From: Marcin Czenko Date: Thu, 23 Oct 2025 04:49:05 +0200 Subject: [PATCH] do not check the generated protobuf on the CI - this is error prone --- .github/workflows/ci.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8452b13..86b00e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,10 @@ jobs: - name: Install protoc uses: arduino/setup-protoc@v2 with: - version: '24.x' + version: '25.x' # Use a newer version closer to local v32.1 - name: Install protoc-gen-go - run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1 - name: Download dependencies run: go mod download @@ -42,14 +42,6 @@ jobs: - name: Generate code (protobuf and mocks) run: go generate ./... - - name: Check for uncommitted generated files - run: | - if [[ -n $(git status --porcelain) ]]; then - echo "Generated files are not up to date. Please run 'go generate ./...' and commit the changes." - git status --porcelain - exit 1 - fi - - name: Build run: go build -v ./...