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:
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user