Skip to content

Commit

Permalink
ci: add protoc to validate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Sep 9, 2023
1 parent 8288ed8 commit fd2d965
Showing 1 changed file with 11 additions and 2 deletions.
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 fd2d965

Please sign in to comment.