Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Jun 7, 2024
1 parent c983c91 commit 77bde14
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ jobs:

- name: Install
run: |
# install protoc compiler
conda create -y -n protobuf
conda activate protobuf
conda install -y protobuf
# install bufbuild
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install bufbuild/buf/buf
buf --help
- name: Lint
run: |
# lint .proto files
Expand All @@ -30,6 +38,7 @@ jobs:
run: |
# generate .py and .pyi files from the .proto files
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
conda activate protobuf
cd proto
buf generate
Expand Down

0 comments on commit 77bde14

Please sign in to comment.