Skip to content

v.0.2.1

v.0.2.1 #11

name: Lint and Pre-commit Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-and-pre-commit:
runs-on: ubuntu-latest
steps:
# Checkout the code from the repository
- name: Checkout code
uses: actions/checkout@v3
# Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
# Install dependencies
- name: Install dependencies
run: |
pip install -U pip setuptools wheel
pip install uv
make install
- name: Run ruff
run: make ruff
- name: Run pre-commit
run: make lint