add publish+ruff actions

This commit is contained in:
2026-03-10 03:46:28 +00:00
parent 96f3fbbee1
commit 3f6172c4bf
2 changed files with 72 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'