Fix: Remove non-POSIX-compliant exec tee line (SC3001 warning)" #448
Workflow file for this run
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
name: Shell Lint | |
on: | |
pull_request_target: | |
branches: [ "main" ] | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install ShellCheck 0.9.0-1 | |
run: sudo apt-get install -y shellcheck=0.9.0-1 | |
- name: Run ShellCheck with exclusions | |
run: | | |
find . -name '*.sh' -print0 | xargs -0 shellcheck -S warning -e SC1091,SC2230,SC3043 |