mirror of
https://github.com/TheLovinator1/wutheringwaves.git
synced 2025-11-08 13:29:49 +01:00
Run scraper every 15 minutes, bump workflow to Python 3.14, and use uv sync --all-groups -U
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user