Skip to content

Merge pull request #10 from MaharshPatelX/codex/public-release-security #20

Merge pull request #10 from MaharshPatelX/codex/public-release-security

Merge pull request #10 from MaharshPatelX/codex/public-release-security #20

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
quality:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and development tools
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Check formatting
run: ruff format --check .
- name: Lint
run: ruff check .
- name: Type check
run: mypy src tests
- name: Test
run: pytest
- name: Build package
run: python -m build