Update dependencies #7
This file contains 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: Update dependencies | |
on: | |
workflow_dispatch: # Allow running on-demand | |
schedule: | |
# Runs every 1st of Month at 3:25 UTC | |
- cron: "25 3 1 * *" | |
env: | |
FORCE_COLOR: "1" | |
PIP_DISABLE_PIP_VERSION_CHECK: "1" | |
jobs: | |
update-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/update-deps-action@v1 | |
with: | |
commit-message: Update dependencies | |
update-strategy: all | |
- uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: 3.x | |
cache: true | |
- run: pdm export --format requirements >requirements/tools.txt |