chore(brew): add vim pkg #67
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: | |
| branches: | |
| - master | |
| jobs: | |
| shellcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install ShellCheck | |
| run: sudo apt-get install -y shellcheck curl | |
| - name: Run ShellCheck | |
| run: scripts/shellcheck.bash | |
| shellfmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '>=1.25.0' | |
| - name: Install shfmt | |
| run: | | |
| go install mvdan.cc/sh/v3/cmd/shfmt@latest | |
| export PATH="~/go/bin:$PATH" | |
| - name: List files to shfmt | |
| run: shfmt -f ./home/ | |
| - name: Run shfmt | |
| run: scripts/shfmt.bash |