chore(deps): bump actions/checkout from 6 to 7 #119
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: Lint | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck (lint) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@2.0.0 | |
| with: | |
| scandir: . | |
| env: | |
| # Treat scripts as bash for better compatibility with zsh | |
| SHELLCHECK_OPTS: -x | |
| shfmt: | |
| name: shfmt (format check) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Install shfmt | |
| run: | | |
| curl -sSLo /usr/local/bin/shfmt \ | |
| https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_amd64 | |
| chmod +x /usr/local/bin/shfmt | |
| - name: Run shfmt (check only) | |
| run: | | |
| shfmt -d -i 0 -ci . |