ci: align the pipelines with the hand-written templates

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-17 20:33:18 +02:00
parent 5fddfa704b
commit 288a64ccd2
3 changed files with 55 additions and 32 deletions
+6 -5
View File
@@ -1,8 +1,10 @@
# Race, Go. Dispatched by hand, and run as part of the release gates.
# Race, Go. Dispatched by hand, and never a gate on a push or a tag: the release tag is
# cut only after `just gates` has already raced the tree, so this workflow is the
# explicit second opinion, not a step of the release.
#
# The race detector roughly doubles both time and memory, which the shared runner box
# cannot afford on every push. Locally it belongs to `just gates`, which runs it once per
# task; here it is an explicit decision rather than a routine.
# task; here it is a decision rather than a routine.
#
# Every step is one command, so the step that fails is the gate that failed.
name: Race
@@ -11,7 +13,6 @@ on:
workflow_dispatch:
env:
GOAMD64: v3
# One core: parallelism buys no speed here and costs memory the box does not have.
GOFLAGS: -p=1
GOMAXPROCS: "2"
@@ -19,7 +20,7 @@ env:
jobs:
race:
runs-on: fedora
timeout-minutes: 45
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
@@ -33,4 +34,4 @@ jobs:
run: dnf install -y gcc
- name: Race
run: go test -race -count=1 -timeout 30m ./...
run: go test -race -count=1 -timeout 10m ./...