Dependency Update #3
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: Dependency Update | |
| on: | |
| schedule: | |
| # Run every Monday at 9:00 AM UTC | |
| - cron: '0 9 * * 1' | |
| workflow_dispatch: | |
| jobs: | |
| update-dependencies: | |
| name: Update Dependencies | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| - name: Update dependencies | |
| run: | | |
| uv sync --dev | |
| uv pip list --outdated | |
| - name: Run tests after update | |
| run: | | |
| uv run pytest -v | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: "chore: update dependencies" | |
| title: "Automated Dependency Update" | |
| body: | | |
| ## Automated Dependency Update | |
| This PR updates the project dependencies to their latest versions. | |
| ### Changes Made | |
| - Updated Python dependencies using `uv sync` | |
| - All tests are passing after the update | |
| Please review the changes and ensure everything looks correct before merging. | |
| branch: dependency-update | |
| delete-branch: true |