upgrade deps #3102
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: Main | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 4 * * *" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install dependencies | |
| run: uv sync | |
| - if: ${{ github.ref == 'refs/heads/master' }} | |
| name: Build data | |
| run: uv run pyvecorg build | |
| env: | |
| GOOGLE_SERVICE_ACCOUNT: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} | |
| - name: Run tests | |
| run: uv run pytest -v | |
| - name: Build HTML | |
| run: uv run pyvecorg freeze | |
| - if: ${{ github.ref == 'refs/heads/master' }} | |
| name: Deploy | |
| run: uv run pyvecorg deploy | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |