diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..5c56c02 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: + push: + pull_request: + +jobs: + ruff: + name: Ruff + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Run Ruff lint + uses: astral-sh/ruff-action@v3 + with: + args: check + + - name: Run Ruff format check + uses: astral-sh/ruff-action@v3 + with: + args: format --check \ No newline at end of file