diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..140346c --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,17 @@ +on: [push, pull_request] + +jobs: + static_analysis: + runs-on: runner-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + - name: Linting & formatting check + uses: pre-commit/action@v3.0.1 + with: + extra_args: ruff ruff-format --all-files + - name: Validate Yaml + uses: pre-commit/action@v3.0.1 + with: + extra_args: check-yaml --all-files +