Skip to content

Use validate-commits to check commits are valid #130

Use validate-commits to check commits are valid

Use validate-commits to check commits are valid #130

Workflow file for this run

name: Linting
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 3
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
cache: 'pip'
cache-dependency-path: |
pyproject.toml
uv.lock
tox.ini
- name: Make a virtualenv
run: python3 -m venv .venv
- name: Install requirements
run: |
source .venv/bin/activate
pip install --group dev
- name: Run linters
run: |
source .venv/bin/activate
make lint