Skip to content

Commit

Permalink
chore(ci): pass GITHUB_TOKEN when invoking install-action
Browse files Browse the repository at this point in the history
This will make it so if `cargo-binstall` is used, it will use the token to avoid API rate limits
  • Loading branch information
clechasseur committed Sep 16, 2024
1 parent 727af3e commit dc72c62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1
with:
tool: just,cargo-hack,cargo-minimal-versions,cargo-msrv-prep
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run checks using cargo-minimal-versions
run: just all_features=${{ matrix.all-features }} check-minimal
Expand Down Expand Up @@ -137,6 +139,8 @@ jobs:
uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1
with:
tool: just
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run checks
run: just all_features=${{ matrix.all-features }} check
Expand Down Expand Up @@ -171,6 +175,8 @@ jobs:
uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1
with:
tool: cargo-tarpaulin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run cargo-tarpaulin
uses: clechasseur/rs-cargo@34eb9ee3e4186e5c7820a54393fbf081f78bc102 # v2.0.5
Expand Down Expand Up @@ -225,6 +231,8 @@ jobs:
uses: taiki-e/install-action@ae888b48c8777229768754549e5463ba726cb1b3 # v2.44.1
with:
tool: just
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate doc using rustdoc
run: just doc
Expand Down

0 comments on commit dc72c62

Please sign in to comment.