mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2026-04-17 22:43:38 +00:00
rename release action to publish
add ruff action
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Release
|
||||
name: Publish to PyPI
|
||||
|
||||
on:
|
||||
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'
|
||||
Reference in New Issue
Block a user