diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..5c4b899 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,20 @@ +name: Ruff Code Check + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + ruff: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run Ruff + uses: astral-sh/ruff-action@v1 + with: + args: "check --output-format=github" \ No newline at end of file