ci: stop waiting ~9 minutes on an unreachable cache #5

Merged
greg merged 2 commits from ci/no-go-cache into main 2026-10-25 15:24:23 +00:00
2 changed files with 14 additions and 0 deletions
Showing only changes of commit d02ed01d26 - Show all commits

No files matched your search

+9
View File
@@ -30,6 +30,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
# Three small modules aren't worth caching, and the runners' cache server is unreachable
# from job containers: each restore/save attempt timed out after ~4.7 minutes.
cache: false
- name: Validate
run: |
@@ -69,6 +72,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
# Three small modules aren't worth caching, and the runners' cache server is unreachable
# from job containers: each restore/save attempt timed out after ~4.7 minutes.
cache: false
# Secrets named in a game's test.yaml must be listed here to reach the boot test
- name: Boot test changed games
@@ -93,6 +99,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
# Three small modules aren't worth caching, and the runners' cache server is unreachable
# from job containers: each restore/save attempt timed out after ~4.7 minutes.
cache: false
# Unlike the node-agent notify, a failure here fails the run, because the panel would
# otherwise keep serving the previous templates silently.
+5
View File
@@ -3,6 +3,11 @@ runner:
capacity: 1
timeout: 3h
cache:
# The built-in cache server listens on the runner container's own network, which job containers
# can't reach: every cache restore/save waited ~4.7 minutes for a timeout. Off, they skip at once.
enabled: false
container:
# Empty = use the host's Docker and mount it into job containers, which the boot test needs
# to start the node-agent and game containers