mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2025-06-27 23:30:23 +01:00
rename release action to publish
add ruff action
This commit is contained in:
parent
835a05dd3e
commit
f9f118dc2d
@ -1,4 +1,4 @@
|
|||||||
name: Release
|
name: Publish to PyPI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
19
.github/workflows/ruff.yml
vendored
Normal file
19
.github/workflows/ruff.yml
vendored
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user