Skip to content

ci: pin GitHub Actions versions #14

ci: pin GitHub Actions versions

ci: pin GitHub Actions versions #14

Workflow file for this run

---
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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- 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