name: Linux Source Checks on: push: pull_request: permissions: contents: read jobs: source-checks: runs-on: ubuntu-24.04 container: image: node:20-alpine steps: - name: Install Git for checkout run: apk add --no-cache git shell: sh - name: Check out repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check latest commit for whitespace errors run: git show --check --oneline HEAD shell: sh