ci: run socket-free jobs on the light label
ci / test (pull_request) Successful in 1m8s
ci / release (pull_request) Skipped

Both runners carry `light` (host1, and host2 over the wg-hosts link), so
these jobs run on whichever host is free. Jobs that mount the docker socket
keep `runs-on: docker`, which only host1 has.
This commit is contained in:
2026-09-22 06:45:29 -07:00
parent 139f7e73da
commit f45ef16d98
+2 -2
View File
@@ -25,7 +25,7 @@ concurrency:
jobs: jobs:
test: test:
runs-on: docker runs-on: light
container: container:
image: golang:1.26-bookworm@sha256:a688600ca24f8a4d3ca77f95b0dd40704a9fc787c826660eb7ba0b641b8b175d # 1.26-bookworm image: golang:1.26-bookworm@sha256:a688600ca24f8a4d3ca77f95b0dd40704a9fc787c826660eb7ba0b641b8b175d # 1.26-bookworm
steps: steps:
@@ -40,7 +40,7 @@ jobs:
release: release:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
needs: [test] needs: [test]
runs-on: docker runs-on: light
container: container:
image: golang:1.26-bookworm@sha256:a688600ca24f8a4d3ca77f95b0dd40704a9fc787c826660eb7ba0b641b8b175d # 1.26-bookworm image: golang:1.26-bookworm@sha256:a688600ca24f8a4d3ca77f95b0dd40704a9fc787c826660eb7ba0b641b8b175d # 1.26-bookworm
steps: steps: