mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 04:28:43 +00:00
Speedup and prevent rate limit in gh-action.yml (#1811)
By passing github token Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
d401c48296
commit
0a9f17f1ba
1 changed files with 6 additions and 2 deletions
8
.github/workflows/gh-action.yml
vendored
8
.github/workflows/gh-action.yml
vendored
|
@ -25,12 +25,16 @@ jobs:
|
||||||
|
|
||||||
- name: Install cargo-binstall
|
- name: Install cargo-binstall
|
||||||
uses: ./ # uses action.yml from root of the repo
|
uses: ./ # uses action.yml from root of the repo
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Verify successful installation - display cargo-binstall's help
|
- name: Verify successful installation - display cargo-binstall's help
|
||||||
run: cargo binstall --help
|
run: cargo binstall --help
|
||||||
|
|
||||||
- name: Verify successful installation - install example binary using cargo-binstall
|
- name: Verify successful installation - install example binary using cargo-binstall
|
||||||
run: cargo binstall -y ripgrep
|
run: cargo binstall -y ripgrep
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Verify successful installation - display help of installed binary
|
- name: Verify successful installation - display help of installed binary
|
||||||
run: rg --help
|
run: rg --help
|
||||||
|
|
Loading…
Add table
Reference in a new issue