From 98e4da74f4aabfa937fc14c17324cee684fb811c Mon Sep 17 00:00:00 2001 From: Laurent Guerard Date: Mon, 22 Jun 2026 15:14:59 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20add=20ruff=20lint=20+=20fo?= =?UTF-8?q?rmat=20CI=20gate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run 'ruff check' and 'ruff format --check' on pushes to main and on every pull request so style and lint stay enforced. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..c4695c5 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: + push: + branches: + - main + pull_request: + +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: ruff check + uses: astral-sh/ruff-action@v3 + with: + args: "check" + + - name: ruff format --check + uses: astral-sh/ruff-action@v3 + with: + args: "format --check"