From 50f17fd69b93cc62ff978daa5baa002e3bcf58cb Mon Sep 17 00:00:00 2001 From: GW_MC <72297530+GWMCwing@users.noreply.github.com> Date: Sat, 11 Apr 2026 09:11:24 +0000 Subject: [PATCH] refactor: Add installation of protobuf compiler to Rust setup action --- .github/actions/setup-rust/action.yaml | 5 +++++ .github/workflows/test.yaml | 10 ---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/actions/setup-rust/action.yaml b/.github/actions/setup-rust/action.yaml index 8b3af02..1ad6fd3 100644 --- a/.github/actions/setup-rust/action.yaml +++ b/.github/actions/setup-rust/action.yaml @@ -64,3 +64,8 @@ runs: toolchain: ${{ inputs.toolchain }} override: ${{ inputs.override }} components: ${{ inputs.components }} + + - name: install protobuf compiler + run: | + apt-get update + apt-get install -y protobuf-compiler diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e2076c3..b947e41 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -31,11 +31,6 @@ jobs: restore-keys: | frontend-build-${{ runner.os }}- - - name: install protobuf compiler - run: | - apt-get update - apt-get install -y protobuf-compiler - - name: Run tests run: cargo test --all-features @@ -61,11 +56,6 @@ jobs: restore-keys: | frontend-build-${{ runner.os }}- - - name: install protobuf compiler - run: | - apt-get update - apt-get install -y protobuf-compiler - - name: Run clippy run: cargo clippy --all-features