Skip to content

fix(README.md): add language to fenced code block (#1) #23

fix(README.md): add language to fenced code block (#1)

fix(README.md): add language to fenced code block (#1) #23

Workflow file for this run

name: lint
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install shellcheck and shfmt
run: |
# Pin both tools to specific versions so CI doesn't drift away
# from what `make lint` checks locally.
SC_VERSION=v0.10.0
curl -fsSL "https://github.com/koalaman/shellcheck/releases/download/${SC_VERSION}/shellcheck-${SC_VERSION}.linux.x86_64.tar.xz" \
| sudo tar -xJ --strip-components=1 -C /usr/local/bin "shellcheck-${SC_VERSION}/shellcheck"
SHFMT_VERSION=v3.12.0
sudo curl -fsSL -o /usr/local/bin/shfmt \
"https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/shfmt_${SHFMT_VERSION}_linux_amd64"
sudo chmod +x /usr/local/bin/shfmt
shellcheck --version | head -2
shfmt --version
- uses: actions/setup-node@v5
with:
node-version: 22
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- run: pip install pyyaml
- name: Install Claude Code (for plugin validate)
run: npm install -g @anthropic-ai/claude-code
- name: Run lint
run: make lint