Skip to content

chore: apply ruff format #104

chore: apply ruff format

chore: apply ruff format #104

Workflow file for this run

# https://docs.astral.sh/ruff/integrations/#github-actions
name: CI
on: push
env:
MAIN_BRANCH: trunk
jobs:
precommit:
name: Pre-commit πŸ”₯
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1
test:
name: "tests & coverage πŸ’Š"
needs: precommit
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: pip install -U hatch
- name: Tests
run: hatch run +py=${{ matrix.python-version }} test:test