Bump uv from 0.9.5 to 0.9.8 #158
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: Check deps with uv | |
| on: | |
| pull_request: | |
| paths: | |
| - pyproject.toml | |
| - requirements.txt | |
| - requirements-dev.txt | |
| - .github/workflows/check-deps.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| deps: | |
| name: Checking dependency graph | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| python-version: "3.12" | |
| - name: Check dependency graph | |
| run: | | |
| uv pip compile pyproject.toml -o requirements.txt | |
| uv pip compile pyproject.toml --extra dev -c requirements.txt -o requirements-dev.txt | |
| - name: Verify dependency graph is ok | |
| uses: tj-actions/verify-changed-files@v20 | |
| id: verify-changed-files | |
| with: | |
| files: | | |
| requirements.txt | |
| requirements-dev.txt | |
| - name: Validating graph | |
| if: steps.verify-changed-files.outputs.files_changed == 'true' | |
| run: | | |
| echo "Dependency file(s) changed: ${{ steps.verify-changed-files.outputs.changed_files }}" | |
| git diff | |
| core.setFailed('Please fix your dependency with uv pip compile commands') |