Adaptions for clang #100
This file contains hidden or 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
| # This workflow will scan all *.sh files and report problems in the PR checks. | |
| # Runs on every push to main and PR targeting main. | |
| # Can be run manually via Actions β βShellCheck (Bash Linting)β β Run workflow. | |
| name: "ShellCheck (Bash Linting)" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck (Bash) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # Install and run ShellCheck using a maintained GitHub Action. | |
| - name: Run ShellCheck | |
| uses: ludeeus/[email protected] | |
| with: | |
| # Optional: you can configure which paths to scan. By default, | |
| # the action will look for *.sh files in the repository. | |
| # minimum severity to report: error, warning, info, style | |
| severity: warning | |
| # optional extras you *could* add: | |
| # scandir: . # where to search for scripts (default ".") | |
| # ignore_paths: "vendor" # space-separated paths to ignore | |
| # ignore_names: "*.tmpl" # ignore by filename pattern | |
| # version: stable # ShellCheck version (default: stable) | |