Run scraper every 15 minutes, bump workflow to Python 3.14, and use uv sync --all-groups -U

This commit is contained in:
2025-11-04 21:56:48 +01:00
parent 92078ed39a
commit 572b863adb

View File

@@ -2,12 +2,12 @@ name: Run Scraper
on: on:
schedule: schedule:
- cron: '0 * * * *' # Every hour - cron: "0 */15 * * *" # Every 15 minutes
workflow_dispatch: workflow_dispatch:
push: push:
paths: paths:
- 'scrape.py' - "scrape.py"
- '.github/workflows/main.yml' - ".github/workflows/main.yml"
jobs: jobs:
scrape: scrape:
@@ -21,7 +21,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.13' python-version: "3.14"
- name: Install uv - name: Install uv
id: setup-uv id: setup-uv
@@ -30,7 +30,7 @@ jobs:
enable-cache: true enable-cache: true
- name: Install dependencies - name: Install dependencies
run: uv sync run: uv sync --all-groups -U
- name: Run script - name: Run script
run: uv run python scrape.py run: uv run python scrape.py