ci(forgejo): add runner-compatible CI workflow #39
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/wanderer!39
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/forgejo-runner-compatible"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why every CI run failed in about 2s
The upstream workflows in
.github/workflowsuseactions/checkout@v7,setup-go@v6andsetup-node@v6. All three declareruns.using: node24. The git.mirus-tech.com runner is forgejo-runner v6.3.1 (containerrunneron the NAS, job imagenode-with-docker:20-bookworm), and it only accepts node12/16/20. Runner log for task 8830 (go.yml, PR #37):The
web.yamlruns for #17/#18 use the same action versions. The runner label is not the problem:ubuntu-latestanddockerare both registered.So the root cause is on the runner side: the runner is too old for node24 actions. This PR is the repo-side fix that works today.
What
Adds
.forgejo/workflows/ci.yml, with node20 action versions (checkout@v4,setup-go@v5,setup-node@v4) on thedockerlabel:go.yml(db fmt/vet/test, plugins test and TinyGo build). It also installs git and make, which the slim job image lacks, and dropssudo.npm ci,svelte-checkand vitest. Playwright integration tests are skipped because they need the full docker-compose stack inside the 2-CPU/2G dind.Forgejo uses
.forgejo/workflowsinstead of.github/workflowsonce the directory exists. Merging this means:.github/stays byte-identical to upstream, so upstream syncs don't conflict.flomp/*andghcr.io/open-wanderer) stop being attempted here.upstream-sync.yml) also adds to.forgejo/workflows, so it has the same effect. It usesactions/checkout@v7too and will fail the same way on this runner. Change it to@v4before merging.Verified
This PR's own run:
go✅ (task 9816) andweb✅ (task 9817, svelte-check 0 errors, vitest 1 file passed).Longer term
Upgrade forgejo-runner (v6.3.1 → a current release that accepts node24) and move the job image to Node 22/24. After that, the upstream workflows could run as-is.
🤖 Generated with Claude Code
https://claude.ai/code/session_01B8woGafdDuKYnXajcXG9Ar