rename release action to publish

add ruff action
This commit is contained in:
onyx-and-iris 2025-06-27 12:42:55 +01:00
parent 835a05dd3e
commit f9f118dc2d
2 changed files with 20 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Release
name: Publish to PyPI
on:
release:

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@v4
- uses: astral-sh/ruff-action@v3
with:
args: 'format --check --diff'