Skip to content

Commit

Permalink
ci: add repo-token arg of setup-protoc to avoid rate limiting (polkad…
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro authored Dec 14, 2022
1 parent 20126b1 commit 07a4929
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
components: rust-docs
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build website
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
override: true
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: cargo test --locked --verbose --all
- name: Ensure runtime-benchmarks and try-runtime features compiles
Expand All @@ -44,6 +46,8 @@ jobs:
override: true
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build manual seal client
run: |
cd template/node
Expand Down Expand Up @@ -74,6 +78,8 @@ jobs:
components: rustfmt, clippy
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check Cargo.toml Format
run: |
if taplo --version &> /dev/null; then
Expand Down

0 comments on commit 07a4929

Please sign in to comment.