From 3bbf9b2c3236edbb254b715ebb8c4a4e87c8102a Mon Sep 17 00:00:00 2001 From: Darshit Suratwala Date: Thu, 18 Sep 2025 13:59:23 +0530 Subject: [PATCH] feat: adding CI ruff checker --- .github/workflows/ci.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..a4de82e --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: PR Checks + +on: + workflow_dispatch: + pull_request: + branches: + - "**" # runs on all branches for PRs + +jobs: + lint: + name: Ruff Check + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install uv + run: pip install uv + + - name: Run Ruff check + run: uv run ruff check supra_sdk tests/unit examples --no-fix