Skip to content

Bump actions/checkout from 3 to 4 #21

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #21

Workflow file for this run

---
name: Linting (Shellcheck)
on:
pull_request:
branches:
- main
# only run these if markdown files are updated
jobs:
shellcheck:
name: Run shellcheck against shell scripts
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- name: Pull koalaman/shellcheck:stable Image
run: docker pull koalaman/shellcheck:stable
- name: Run Shellcheck against shell scripts
run: docker run --rm -i -v "$PWD:/mnt" koalaman/shellcheck:stable $(find . -type f -exec grep -m1 -l -E '^#!.*sh.*' {} \; | grep -v '/.git/')