Skip to content

Commit

Permalink
Authenticate when installing protoc
Browse files Browse the repository at this point in the history
This should make it less likely that we hit API limits.
  • Loading branch information
obrok committed Dec 27, 2022
1 parent e280ff3 commit f7563d4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-push-cliain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Cargo | Build release binary
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-node-and-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Install WASM target
run: rustup target add wasm32-unknown-unknown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Build binary
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-excluded-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Read excluded packages from Cargo.toml
id: read_excluded
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-tests-main-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Restore cache
uses: ./.github/actions/restore-cache
Expand Down Expand Up @@ -116,6 +117,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Install WASM target
run: rustup target add wasm32-unknown-unknown
Expand Down Expand Up @@ -154,6 +156,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Restore cache
uses: ./.github/actions/restore-cache
Expand Down Expand Up @@ -840,6 +843,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Install WASM target
run: rustup target add wasm32-unknown-unknown
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Install WASM target
run: rustup target add wasm32-unknown-unknown
Expand Down Expand Up @@ -97,6 +98,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Restore cache
uses: ./.github/actions/restore-cache
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: arduino/setup-protoc@v1
with:
version: '3.6.1'
repo-token: ${{ secrets.GH_TOKEN }}

- name: Install clippy and fmt
run: rustup component add clippy rustfmt
Expand Down

0 comments on commit f7563d4

Please sign in to comment.