Skip to content

fix(skill): make updates failure-atomic #38

fix(skill): make updates failure-atomic

fix(skill): make updates failure-atomic #38

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up uv and Python
uses: astral-sh/setup-uv@v9.0.0
with:
version: "latest"
python-version: "3.12"
enable-cache: true
- name: Install lint dependencies
run: uv sync --group lint
- name: Run Ruff
run: uv run ruff check .
- name: Check formatting
run: uv run ruff format --check .
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up uv and Python
uses: astral-sh/setup-uv@v9.0.0
with:
version: "latest"
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install test dependencies
run: uv sync --group tests
- name: Run unit tests
run: uv run pytest tests/ -v