Skip to content

Commit

Permalink
add protoc to github steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kvc0 committed Aug 12, 2024
1 parent 584cc02 commit 9d1a4c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "23.x"

- name: Rustfmt
run: cargo fmt -- --check
- name: Clippy
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "23.x"

- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 9d1a4c8

Please sign in to comment.