Update astral-sh/setup-uv action to v8 #65
Workflow file for this run
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: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Start Cloud Tasks emulator | |
| run: | | |
| docker compose -f docker-compose.yaml up -d | |
| - name: Run tests | |
| run: make test | |
| - name: Show emulator logs on failure | |
| if: failure() | |
| run: | | |
| docker compose -f docker-compose.yaml logs --no-color | cat | |
| - name: Stop emulator | |
| if: always() | |
| run: | | |
| docker compose -f docker-compose.yaml down -v |