Skip to content

Commit

Permalink
Check generated protobuf files in CI
Browse files Browse the repository at this point in the history
Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama committed Nov 24, 2022
1 parent 9c01b60 commit 88f68fc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ workflows:
test-build-deploy:
jobs:
- lint
- check-protos
- test

jobs:
Expand All @@ -23,6 +24,19 @@ jobs:
command: |
make lint
check-protos:
machine: # executor type
image: ubuntu-2204:2022.10.2
working_directory: /home/circleci/go/src/github.com/weaveworks/common
steps:
- checkout
- run:
name: Check generated protobuf files
command: |
go version
go mod vendor
make check-protos
test:
<<: *defaults
steps:
Expand Down

0 comments on commit 88f68fc

Please sign in to comment.