docs: update .github/SECURITY.md via Apex Optimizer #7
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 | |
| # This workflow will do a combination of testing, build, and deployment tasks | |
| # For more information see: https://docs.github.com/actions/automating-builds-and-tests/about-continuous-integration | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: "uv" | |
| cache-dependency-path: "**/pyproject.toml" | |
| - name: Install dependencies with uv | |
| run: "uv pip install --system --quiet --no-cache-dir -e .[dev]" | |
| - name: Lint with Ruff | |
| run: "uv run --quiet --no-cache-dir ruff check ." | |
| - name: Format with Ruff | |
| run: "uv run --quiet --no-cache-dir ruff format ." | |
| - name: Test with Pytest | |
| run: "uv run --quiet --no-cache-dir pytest" |