Skip to content

Commit 2c12467

Browse files
authored
Merge pull request #111 from Ghbounty/gastonfoncea09/ghb-202-ci-python-falla-en-todos-los-prs-genvm-v030-rc0-renombro
fix(ci): pre-cache genvm v0.2.16 to bypass upstream asset rename — GHB-202
2 parents 4b0843f + 794b976 commit 2c12467

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,18 @@ jobs:
3333
python-version: "3.12"
3434
- run: pip install ruff pytest genlayer-test
3535
- run: ruff check bounty_judge/contracts
36+
# GHB-202 workaround: genlayer-test resolves the genvm version at runtime
37+
# via HEAD https://github.com/genlayerlabs/genvm/releases/latest. On
38+
# 2026-05-20 GenLayer Labs marked v0.3.0-rc0 as "latest" and removed
39+
# the `genvm-universal.tar.xz` asset, so every CI run hits 404.
40+
# Pre-seeding the cache with v0.2.16 makes `list_cached_versions()`
41+
# return it first and skips the "latest" lookup entirely.
42+
# Remove this step once upstream restores a universal tarball or
43+
# gltest learns to download platform-specific assets.
44+
- name: Pre-cache genvm v0.2.16 (GHB-202)
45+
run: |
46+
mkdir -p ~/.cache/gltest-direct
47+
curl -fL \
48+
"https://github.com/genlayerlabs/genvm/releases/download/v0.2.16/genvm-universal.tar.xz" \
49+
-o ~/.cache/gltest-direct/genvm-universal-v0.2.16.tar.xz
3650
- run: pytest bounty_judge/tests

0 commit comments

Comments
 (0)