From afce14e5a06a39c53d2703d18771d327c8ea5bf1 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Mon, 23 Sep 2024 17:10:49 +0200 Subject: [PATCH] fix(ci): Avoid protoc rate limit (#315) --- .github/workflows/bench.yml | 2 ++ .github/workflows/coverage.yml | 2 ++ .github/workflows/release.yml | 2 ++ .github/workflows/test.yml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index b776afaf..9a8af8a3 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -21,6 +21,8 @@ jobs: - uses: dtolnay/rust-toolchain@stable - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Run benchmark run: cargo bench -p benchmarks -- --output-format bencher | tee benchmarks/output.txt diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 048c64fc..885f164d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,6 +24,8 @@ jobs: components: llvm-tools-preview - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install cargo-llvm-cov uses: taiki-e/install-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2974d90..c9b76089 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Run release-plz uses: MarcoIeni/release-plz-action@v0.5 env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57d9de03..a841e7eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,8 @@ jobs: components: rustfmt - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Cache Cargo dependencies uses: Swatinem/rust-cache@v2 with: