ci(github): add ruff lint workflow

This commit is contained in:
etienne-hd
2026-04-29 23:10:23 +02:00
parent ba7e55a544
commit 25ef1dc627

23
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Lint
on:
push:
pull_request:
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Ruff lint
uses: astral-sh/ruff-action@v3
with:
args: check
- name: Run Ruff format check
uses: astral-sh/ruff-action@v3
with:
args: format --check