Skip to content

Commit 88f68fc

Browse files
committed
Check generated protobuf files in CI
Signed-off-by: György Krajcsovits <[email protected]>
1 parent 9c01b60 commit 88f68fc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circleci/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ workflows:
1111
test-build-deploy:
1212
jobs:
1313
- lint
14+
- check-protos
1415
- test
1516

1617
jobs:
@@ -23,6 +24,19 @@ jobs:
2324
command: |
2425
make lint
2526
27+
check-protos:
28+
machine: # executor type
29+
image: ubuntu-2204:2022.10.2
30+
working_directory: /home/circleci/go/src/github.com/weaveworks/common
31+
steps:
32+
- checkout
33+
- run:
34+
name: Check generated protobuf files
35+
command: |
36+
go version
37+
go mod vendor
38+
make check-protos
39+
2640
test:
2741
<<: *defaults
2842
steps:

0 commit comments

Comments
 (0)