Bump DavidAnson/markdownlint-cli2-action from 19 to 22 #2
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run ShellCheck | |
| run: shellcheck scripts/*.sh | |
| shfmt: | |
| name: shfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install shfmt | |
| run: | | |
| SHFMT_VERSION=3.10.0 | |
| curl -sS -L "https://github.com/mvdan/sh/releases/download/v${SHFMT_VERSION}/shfmt_v${SHFMT_VERSION}_linux_amd64" -o /usr/local/bin/shfmt | |
| chmod +x /usr/local/bin/shfmt | |
| - name: Check formatting | |
| run: shfmt -d scripts/*.sh | |
| markdownlint: | |
| name: Markdown Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: DavidAnson/markdownlint-cli2-action@v22 | |
| with: | |
| globs: '**/*.md' | |
| prettier: | |
| name: Prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run Prettier check | |
| run: npx prettier@3 --check '**/*.{json,yml,yaml,md}' --ignore-path .prettierignore | |
| ruff: | |
| name: Ruff | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install Ruff | |
| run: pip install ruff | |
| - name: Check linting | |
| run: ruff check clickwheel/ | |
| - name: Check formatting | |
| run: ruff format --check clickwheel/ | |
| claude-lint: | |
| name: Claude Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run claude-code-lint | |
| run: npx claude-code-lint@latest |