Daily Dependency Update and Test #280
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: Daily Dependency Update and Test | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * *' # Runs at 08:00 UTC every day | |
jobs: | |
update-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
ref: 'main' | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install pip tools | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Install dependencies | |
run: poetry install | |
- name: Update dependencies | |
run: poetry update | |
- name: Run unit tests | |
run: poetry run test |