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