ci: update all non-major github actions #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test install.sh | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/test-install.yaml | |
- install.sh | |
permissions: | |
contents: read | |
jobs: | |
test-install-sh: | |
name: Test install.sh | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install multi-gitter | |
env: | |
BINDIR: ${{ github.workspace }}/bin | |
FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }} | |
REF: ${{ github.head_ref }} | |
run: | | |
curl -s https://raw.githubusercontent.com/$FULL_NAME/$REF/install.sh | sh -s -- -d | |
echo "$BINDIR" >> $GITHUB_PATH | |
shell: sh | |
- name: Print version | |
run: multi-gitter version | |
shell: sh |