Add Gitea action to check ruff linting/formatting
This commit is contained in:
parent
37cb41af1b
commit
be68946dcb
12
.gitea/workflows/ruff.yml
Normal file
12
.gitea/workflows/ruff.yml
Normal file
@ -0,0 +1,12 @@
|
||||
name: Ruff
|
||||
on: [ push, pull_request ]
|
||||
jobs:
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: chartboost/ruff-action@v1
|
||||
- uses: chartboost/ruff-action@v1
|
||||
with:
|
||||
args: format --check --diff
|
Loading…
Reference in New Issue
Block a user