From 39330ba9a2409d501357066c270ed85e6dfb4420 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Mon, 16 Nov 2026 18:53:34 +0300 Subject: [PATCH] ci(release): limit GoReleaser build parallelism The v0.12.0 release run was killed twice while building four targets at once ("The runner has received a shutdown signal"). One target peaks at about 4.8 GB of compiler memory with gotd/td v0.165.0, so four in parallel exceed the 16 GB hosted runner. --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d363ca9..581f309 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,9 @@ jobs: with: distribution: goreleaser version: '~> v2' - args: release --clean + # Compiling gotd/td peaks near 5 GB per target; the default of one + # build per CPU (4) runs the 16 GB runner out of memory. + args: release --clean --parallelism 2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Built-in app credentials injected into the binaries via -ldflags.