mirror of
https://github.com/logos-storage/logos-storage-go.git
synced 2026-01-08 08:13:13 +00:00
do not check the generated protobuf on the CI - this is error prone
This commit is contained in:
parent
23779715e8
commit
bdae45907b
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -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 ./...
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user