mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-23 05:58:42 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
966 B
YAML
36 lines
966 B
YAML
name: Test GitHub Action installer
|
|
on:
|
|
merge_group:
|
|
pull_request:
|
|
paths:
|
|
- install-from-binstall-release.ps1
|
|
- install-from-binstall-release.sh
|
|
- action.yml
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- install-from-binstall-release.ps1
|
|
- install-from-binstall-release.sh
|
|
- action.yml
|
|
|
|
jobs:
|
|
test-gha-installer:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install cargo-binstall
|
|
uses: ./ # uses action.yml from root of the repo
|
|
|
|
- name: Verify successful installation - display cargo-binstall's help
|
|
run: cargo binstall --help
|
|
|
|
- name: Verify successful installation - install example binary using cargo-binstall
|
|
run: cargo binstall -y ripgrep
|
|
|
|
- name: Verify successful installation - display help of installed binary
|
|
run: rg --help
|