Skip to content

Commit

Permalink
ci: include protoc dependency on github workflows (txpipe#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Sep 9, 2023
1 parent 8288ed8 commit 57b90cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ jobs:
profile: minimal
target: ${{ matrix.target }}

- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Build | Build
uses: actions-rs/[email protected]
with:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
on:
push:
branches:
- '**'
- "**"
tags-ignore:
- v*
- v*

name: Validate

Expand All @@ -29,6 +29,9 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true

- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
Expand All @@ -49,6 +52,9 @@ jobs:
toolchain: stable
override: true

- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
Expand All @@ -70,6 +76,9 @@ jobs:
override: true
components: rustfmt, clippy

- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 57b90cc

Please sign in to comment.