81cc8fc3ff
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>
24 lines
479 B
YAML
24 lines
479 B
YAML
name: 'ShellCheck'
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.sh'
|
|
# this is too wide but will cover shell scripts without an extension in that folder
|
|
- 'bin/*'
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
SHELLCHECK_OPTS: -s bash
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
with:
|
|
version: v0.8.0
|
|
format: tty
|