shellcheck.yml
This file
Path
.github/workflows/shellcheck.yml
56 lines · 1.4 KiB · YAML
Last changed by
[Tests] homebrew/actions changed their default branchJordan Harbandbefore adoption5267556
History of this fileTake it
The walk stopped after 200 commits: lines older than 5c12680 point at it.
[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 1–37why, one step back1name: 'Tests: shellcheck'23on: [pull_request, push]45permissions:6 contents: read78jobs:9 shellcheck_matrix:10 runs-on: ubuntu-latest11 strategy:12 fail-fast: false13 matrix:14 shell:15 - bash16 - sh17 - dash18 - ksh19 file:20 - nvm.sh21 include:22 - shell: bash23 file: install.sh # only supported on bash24 - shell: bash25 file: bash_completion # only needed in bash/zsh26 - shell: bash27 file: nvm-exec # only runs in bash2829 steps:30 - name: Harden Runner31 uses: step-security/harden-runner@v232 with:33 allowed-endpoints:34 ghcr.io:44335 github.com:44336 pkg-containers.githubusercontent.com:44337 formulae.brew.sh:443[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 38why, one step back38 - uses: actions/checkout@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
line 39why, one step back39 - name: Set up Homebrew[Tests] homebrew/actions changed their default branchJordan Harbandbefore adoption5267556
line 40why, one step back40 uses: Homebrew/actions/setup-homebrew@HEAD[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 41–56why, one step back41 - name: Install latest shellcheck42 run: brew install shellcheck43 env:44 HOMEBREW_NO_ANALYTICS: 145 - run: which shellcheck46 - run: shellcheck --version47 - name: Run shellcheck on ${{ matrix.file }}48 run: shellcheck -s ${{ matrix.shell }} ${{ matrix.file }}4950 shellcheck:51 permissions:52 contents: none53 needs: [shellcheck_matrix]54 runs-on: ubuntu-latest55 steps:56 - run: true