add publish+ruff workflows

This commit is contained in:
2026-04-05 00:43:12 +01:00
parent b75555c11b
commit 4e03724a6b
2 changed files with 47 additions and 0 deletions

19
.github/workflows/ruff.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Ruff
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/ruff-action@v3
with:
args: 'format --check --diff'