Merge pull request #335 from CraftOS-dev/dev #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | |
| - 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" | |
| - name: Byte-compile source tree | |
| run: python -m compileall -q app agent_core agents decorators skills |