From 7a270fdb6a31e9fb0c7969df554fbd653509b16b Mon Sep 17 00:00:00 2001 From: ahmad-ajmal Date: Tue, 28 Apr 2026 10:30:44 +0100 Subject: [PATCH] staging lint check --- .github/workflows/staging-lint.yml | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/staging-lint.yml diff --git a/.github/workflows/staging-lint.yml b/.github/workflows/staging-lint.yml new file mode 100644 index 00000000..c6dcad3d --- /dev/null +++ b/.github/workflows/staging-lint.yml @@ -0,0 +1,42 @@ +name: Staging Lint + +on: + push: + branches: [staging] + pull_request: + branches: [staging] + +jobs: + ruff: + name: Ruff (format + check) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: pip + + - name: Install ruff + run: pip install ruff + + - name: Check formatting + run: ruff format --check . + + - name: Run ruff check + run: ruff check . + + smoke: + name: Smoke (syntax + imports) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: pip + + - name: Byte-compile source tree + run: python -m compileall -q app agent_core agents decorators skills