add ruff formatting info and CI pipeline

This commit is contained in:
yedpodtrzitko
2024-05-01 15:19:20 +08:00
parent 1a7316d54c
commit 1030328420
3 changed files with 14 additions and 1 deletions

11
.github/workflows/ruff.yaml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: Ruff
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
version: 0.4.2
args: 'format --check'