From 57b90cc2a337a09a78798268c7a1ea16ba57fd20 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 9 Sep 2023 22:49:21 +0200 Subject: [PATCH] ci: include protoc dependency on github workflows (#699) --- .github/workflows/release.yml | 3 +++ .github/workflows/validate.yml | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32e90bdb..a3254564 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,6 +81,9 @@ jobs: profile: minimal target: ${{ matrix.target }} + - name: Install Protoc + uses: arduino/setup-protoc@v2 + - name: Build | Build uses: actions-rs/cargo@v1.0.3 with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 4888db93..66ae92cf 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -3,9 +3,9 @@ on: push: branches: - - '**' + - "**" tags-ignore: - - v* + - v* name: Validate @@ -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: @@ -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: @@ -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: