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