Add Gitea action to check ruff linting/formatting

This commit is contained in:
Adam Goldsmith 2024-01-19 15:04:08 -05:00
parent 37cb41af1b
commit be68946dcb

12
.gitea/workflows/ruff.yml Normal file
View 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