Skip to content

Commit caa9286

Browse files
authored
run schedule once a week on sunday (and use uv) (#19)
1 parent a41d776 commit caa9286

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
workflow_dispatch:
66
schedule:
7-
- cron: '0 1 * * *'
7+
- cron: '0 1 * * 0'
88

99
env:
1010
PROJECT_NAME: genesis-base
@@ -22,11 +22,16 @@ jobs:
2222
- name: Build Genesis Core
2323
run: |
2424
set -eux
25-
25+
26+
# Install uv
27+
wget -qO- https://astral.sh/uv/install.sh | sh
28+
source $HOME/.local/bin/env
29+
uv tool install tox --with tox-uv
30+
2631
# Install DevTools
27-
rm -fr .venv && python3 -m venv .venv
32+
rm -fr .venv && uv venv
2833
source .venv/bin/activate
29-
pip install genesis-devtools
34+
uv pip install genesis-devtools
3035
genesis build $(pwd)
3136
3237
# Temporary upload step is done in the build script

0 commit comments

Comments
 (0)