mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-29 13:30:03 +00:00
Add token.
This commit is contained in:
parent
36ecdbe15a
commit
ee08b68739
2 changed files with 5 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -28,3 +28,5 @@ jobs:
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
- run: pnpm run build
|
- run: pnpm run build
|
||||||
- uses: ./ # self
|
- uses: ./ # self
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -95,10 +95,12 @@ names.
|
||||||
- uses: moonrepo/setup-rust@v1
|
- uses: moonrepo/setup-rust@v1
|
||||||
with:
|
with:
|
||||||
bins: cargo-nextest, cargo-insta@1.28.0
|
bins: cargo-nextest, cargo-insta@1.28.0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
> Binaries are installed with [`cargo-binstall`](https://crates.io/crates/cargo-binstall) under the
|
> Binaries are installed with [`cargo-binstall`](https://crates.io/crates/cargo-binstall) under the
|
||||||
> hood.
|
> hood. We suggest setting `GITHUB_TOKEN` to avoid rate limiting.
|
||||||
|
|
||||||
## Caching in CI
|
## Caching in CI
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue