From 67722b0c24178d264f6ce96d0c0d4e6726382148 Mon Sep 17 00:00:00 2001 From: Ed Zynda Date: Fri, 29 May 2026 16:42:28 +0300 Subject: [PATCH] ci(release): limit goreleaser parallelism to avoid OOM on runner A single clean cross-build peaks at ~7GB RSS (internal/extensions yaegi symbol table). goreleaser builds targets in parallel by default, which exhausts the 7GB ubuntu-latest runner and OOM-kills the build with no error output. Force --parallelism 1 and cap go compiler with GOFLAGS=-p=2. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 96792977..5343ca39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,9 +35,10 @@ jobs: with: distribution: goreleaser version: "~> v2" - args: release --clean + args: release --clean --parallelism 1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOFLAGS: -p=2 npm-publish: runs-on: ubuntu-latest