Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

📖♻️ Readme update #20

📖♻️ Readme update

📖♻️ Readme update #20

Workflow file for this run

name: CI
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
# Sets up a specific version of Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit uv
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run pre-commit hooks
run: |
echo "Running pre-commit hooks..."
pre-commit run --all-files --verbose || {
echo "❌ Pre-commit hooks failed!"
echo ""
echo "Files modified by hooks:"
git diff --name-only
echo ""
echo "Detailed changes:"
git diff --stat
exit 1
}
# Future: testing
# - name: Test