diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 00000000..65c70da0 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,17 @@ +name: Linting + +on: [push, pull_request, workflow_dispatch] + +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Linting + uses: chartboost/ruff-action@v1 + with: + args: check + - name: Check Formatting + uses: chartboost/ruff-action@v1 + with: + args: format --check