chore: add LLM-targeted community setup checklist and secure defaults #1
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --all-extras --dev | |
| - name: Lint with ruff | |
| run: uv run ruff check . | |
| continue-on-error: true | |
| - name: Check formatting with black | |
| run: uv run black --check . | |
| continue-on-error: true | |
| - name: Type check with mypy | |
| run: uv run mypy . | |
| continue-on-error: true | |
| - name: Run tests | |
| run: uv run pytest -v | |
| continue-on-error: true |