Skip to content

Adaptions for clang #101

Adaptions for clang

Adaptions for clang #101

Workflow file for this run

# 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)