From f34110ea84833a363f3217099e316a91b0f35264 Mon Sep 17 00:00:00 2001 From: Nick Santana Date: Wed, 15 Feb 2023 08:45:08 -0800 Subject: [PATCH] Is there an achievement for this? testing out clippy install logic for ci --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b24fa5e..c6b7ec0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -92,8 +92,8 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: install protoc plugins run: | - cargo install protoc-gen-prost - cargo install protoc-gen-tonic + cargo +${{ matrix.rust }} install protoc-gen-prost + cargo +${{ matrix.rust }} install protoc-gen-tonic - run: cargo +${{ matrix.rust }} clippy --all --all-features -- -D warnings build: @@ -166,6 +166,9 @@ jobs: with: toolchain: ${{ matrix.rust }} - uses: r7kamura/rust-problem-matchers@v1 + - uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: install protoc plugins run: | cargo install protoc-gen-prost