name: Shellcheck on: push: branches: [ "master" ] pull_request: branches: [ "master" ] workflow_dispatch: jobs: # Shellcheck check: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Install shellcheck run: sudo apt-get update && sudo apt-get install -y shellcheck - name: Run shellcheck run: | shellcheck -V shellcheck -e SC2244 -e SC2243 -e SC2154 neofetch ./neofetch