From 52c33ae51cfe7a62dc19d41c4a4b76cf0571caed Mon Sep 17 00:00:00 2001 From: Blazej Kolad Date: Tue, 10 Oct 2023 21:54:03 +0200 Subject: [PATCH] Add repo-token (#1015) --- .github/workflows/rust.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 622d61f08..4fd437cf7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -73,6 +73,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show && rustup install nightly && rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu # Nightly is needed for our configuration of cargo fmt - name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code @@ -111,6 +112,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show - name: cargo install cargo-hack @@ -137,6 +139,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show - name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code @@ -161,6 +164,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show - name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code @@ -188,6 +192,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show - name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code @@ -235,6 +240,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show - uses: Swatinem/rust-cache@v2 @@ -299,6 +305,7 @@ jobs: uses: arduino/setup-protoc@v2 with: version: "23.2" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: rustup show - name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code