mirror of
https://github.com/etienne-hd/lbc-finder.git
synced 2026-04-30 12:55:34 +02:00
ci(github): add ruff lint workflow
This commit is contained in:
23
.github/workflows/lint.yml
vendored
Normal file
23
.github/workflows/lint.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user