Skip to content

Bump the github-actions group across 1 directory with 8 updates #9

Bump the github-actions group across 1 directory with 8 updates

Bump the github-actions group across 1 directory with 8 updates #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Quality
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.14"
- name: Install locked dependencies
run: uv sync --locked --dev
- name: Lint
run: uv run ruff check .
- name: Check formatting
run: uv run ruff format --check .
- name: Type-check runtime files
run: >-
uv run mypy
01-structured-shell/run_loud.py
02-structured-tests/pytest_jsonl_reporter.py
03-verification-gate/check_evidence.py
03-verification-gate/verify.py
04-stop-hook/no_completion_without_evidence.py
05-prompt-cache/cacheable_prompt.py
- name: Audit Python dependencies
run: uv run pip-audit
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install locked dependencies
run: uv sync --locked --dev
- name: Test
run: uv run pytest --cov=. --cov-report=term-missing --cov-report=xml
- name: Upload coverage report
if: matrix.python-version == '3.14'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: coverage-report
path: coverage.xml
if-no-files-found: error
retention-days: 14