From 59229889d4d0702c011cc640412a9c9c523f1219 Mon Sep 17 00:00:00 2001 From: Bryce Boe Date: Mon, 15 Jun 2026 12:29:35 -0700 Subject: [PATCH] Use reusable python-ci workflow Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a172af8..9a73e80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,31 +5,9 @@ on: branches: [main] pull_request: -permissions: {} +permissions: + contents: read jobs: - lint: - name: Lint and type-check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - fetch-depth: 0 # hatch-vcs needs tags to build the project for pyright - - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 - - run: uvx pre-commit run --all-files - env: - SKIP: no-commit-to-branch # this guard is local-only; CI runs on main - - test: - name: Test on Python ${{ matrix.python-version }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] - steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - fetch-depth: 0 # hatch-vcs needs tags to build the project - - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 - - run: uv run --python ${{ matrix.python-version }} --group test pytest + ci: + uses: bboe/.github/.github/workflows/python-ci.yml@main