From aa8062d21f6226a9ee6708417e2ab00acc4abfe5 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Tue, 31 Oct 2023 10:45:18 -0400 Subject: [PATCH] Add protoc to CI --- .github/workflows/rust.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3ed1ce147b..aa08af8b0e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,6 +9,10 @@ on: env: CARGO_TERM_COLOR: always + PROTOC_VERSION: 3.23.4 + # FIXME: There are some warnings depending on certain feature flags that + # we need to fix before we can enable this. + # RUSTFLAGS: "-D warnings" jobs: checks: @@ -104,6 +108,11 @@ jobs: - name: Install deps run: sudo apt update && sudo apt install -y libclang-dev + - name: Install protoc + uses: taiki-e/install-action@v2 + with: + tool: protoc@${{ env.PROTOC_VERSION }} + - uses: actions/checkout@v3 - name: Set up cargo cache