Skip to content

Commit d96cb72

Browse files
committed
use github.token when invoking cargo-binstall
1 parent 5f70864 commit d96cb72

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/binary-builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ jobs:
112112
- name: Install cross (cargo cross compiler)
113113
if: matrix.cross
114114
uses: taiki-e/install-action@v2
115+
env:
116+
GITHUB_TOKEN: ${{ github.token }}
115117
with:
116118
tool: cross
117119

.github/workflows/bump-n-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
- run: yarn global add @napi-rs/cli
4242
- uses: cargo-bins/cargo-binstall@main
4343
- run: cargo binstall -y git-cliff
44+
env:
45+
GITHUB_TOKEN: ${{ github.token }}
4446
- name: Bump ${{ inputs.component }} version
4547
env:
4648
GITHUB_TOKEN: ${{ secrets.BUMP_N_RELEASE }}

.github/workflows/run-dev-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ jobs:
4747

4848
- name: Install third-party binaries
4949
uses: taiki-e/install-action@v2
50+
env:
51+
GITHUB_TOKEN: ${{ github.token }}
5052
with:
51-
tool: cargo-nextest,cargo-llvm-cov,cargo-binstall,just
53+
tool: cargo-nextest,cargo-llvm-cov,cargo-binstall
5254

5355
- name: Install llvm-cov-pretty (HTML report generator)
5456
run: cargo binstall -y llvm-cov-pretty

0 commit comments

Comments
 (0)