fix(ci): align runs-on labels with gitea/act_runner defaults — advertise ubuntu-22.04 instead of self-hosted
ci / lint (ruff) (push) Successful in 1m22s
ci / pytest (py3.10) (push) Successful in 9m41s
ci / pytest (py3.11) (push) Successful in 9m38s
ci / pytest (py3.12) (push) Successful in 9m25s
ci / pytest (py3.13) (push) Successful in 9m42s

This commit is contained in:
ubuntu committed 2026-07-08 08:19:55 +00:00
1 parent 388b0a87c3
commit de978187d0
2 files changed
+7 -6

No files matched your search

+5 -4
View File
@@ -188,10 +188,11 @@ Sulla macchina che eseguir\u00e0 i job serve **Docker** (l'immagine
3. Quando vedi `Runner is now online` nel log, sostituisci con la
versione daemonizzata (`-d`, `--restart unless-stopped`). Un
`act_runner` Docker di default pubblica le label
`self-hosted`, `linux`, `amd64`; i workflow di `viandante` usano
proprio `runs-on: self-hosted` (in `.gitea/workflows/*.yml`) che le
matcha.
`act_runner` Docker (`gitea/act_runner:latest`) di default
pubblica le label `ubuntu-latest`, `ubuntu-24.04`, `ubuntu-22.04`;
i workflow di `viandante` usano `runs-on: ubuntu-22.04`
(in `.gitea/workflows/*.yml`) che le matcha — ogni job gira in
un container pulito basato su Ubuntu 22.04 (Docker‑in‑Docker).
> NB sul token: l'URL `/-/admin/runners` genera un **runner globale**
> (visibile a tutti i repo del Gitea). Per limitare il runner a un solo