From 72abb74d47e054ec10cb7ca7bee608478bfd7753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20R=C3=B3=C5=BCa=C5=84ski?= Date: Thu, 21 Sep 2023 13:02:25 +0200 Subject: [PATCH] Install protoc in CI --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64821c3a..8cd629bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,10 @@ jobs: name: Check runs-on: ubuntu-latest steps: + - uses: arduino/setup-protoc@v2 - uses: actions/checkout@v3 + with: + submodules: true - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - run: cargo check --workspace --all-features @@ -42,6 +45,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: true - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} @@ -86,6 +91,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: true - uses: dtolnay/rust-toolchain@stable with: components: rustfmt @@ -95,7 +102,10 @@ jobs: clippy: runs-on: ubuntu-latest steps: + - uses: arduino/setup-protoc@v2 - uses: actions/checkout@v3 + with: + submodules: true - uses: dtolnay/rust-toolchain@master with: components: clippy @@ -111,6 +121,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: true - name: Install stable uses: dtolnay/rust-toolchain@stable with: @@ -177,6 +189,8 @@ jobs: name: Install opencl run: vcpkg install opencl - uses: actions/checkout@v3 + with: + submodules: true - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }}