Skip to content

CLI installation and updating #87

CLI installation and updating

CLI installation and updating #87

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Check formatting
run: make format-check
- name: lint
run: make lint
- name: Lint shell scripts with shellcheck
uses: ludeeus/action-shellcheck@master
with:
scandir: './scripts ./hooks'
- name: Verify generated plugins are up to date
run: |
./scripts/build-plugins.sh
git diff --exit-code plugins/ || { echo "plugins/ is out of date. Run 'make build-plugins' and commit."; exit 1; }
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Claude Code CLI
run: npm install -g @anthropic-ai/claude-code
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Run tests
run: make test