junifer/.forgejo/workflows/lint.yml
2026-09-15 14:21:10 +02:00

23 lines
518 B
YAML

name: Lint
on:
- push
- pull_request
jobs:
lint:
runs-on: debian-latest
steps:
- uses: actions/checkout@v7
- name: Install Python
uses: actions/setup-python@v7
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox "ruff>=0.1.0"
- name: Run ruff
run: ruff check --output-format=github .
- name: Run codespell
run: tox -e codespell