Merge pull request #227 from dreadnode/fix/renovate-uv-config #622
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: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| validate: | |
| name: Validate | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@28f2168f4d98ee0445e3c6321f6e6616c83dd5ec | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8 | |
| with: | |
| enable-cache: true | |
| - name: Install package | |
| run: uv sync --all-extras --group dev | |
| - name: Lint | |
| run: uv run ruff check --output-format=github dyana | |
| - name: Type check | |
| run: uv run mypy --ignore-missing-imports --no-error-summary dyana | |
| - name: Test | |
| run: uv run pytest dyana |