99385c0ff5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7. - [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/v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' 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> Co-authored-by: Chris Titus <contact@christitus.com>
34 lines
667 B
YAML
34 lines
667 B
YAML
name: Script Checks
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**/*.sh'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: Shellcheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Run ShellCheck
|
|
uses: reviewdog/action-shellcheck@v1
|
|
with:
|
|
shellcheck_flags: '--source-path=${{ github.workspace }}/.shellcheckrc'
|
|
reviewdog_flags: '-fail-level=any'
|
|
|
|
shfmt:
|
|
name: Shell Fomatting
|
|
runs-on: ubuntu-latest
|
|
needs: shellcheck
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v7
|