Skip to content

Commit 79c604b

Browse files
authored
ci: reduce SCA memory pressure on ARM runners (#472)
1 parent 61087f3 commit 79c604b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,4 +847,6 @@ jobs:
847847
848848
# Run cheap policy checks before the long analyzers so an invalid PR
849849
# fails in seconds rather than consuming the full SCA critical path.
850-
make static-check-analysis GOLANGCI_LINT_CONCURRENCY=1
850+
# Keep room for the runner on the 8 GiB ARM worker. This is a soft
851+
# limit per Go process, and an explicit setting takes precedence.
852+
GOMEMLIMIT="${GOMEMLIMIT:-5GiB}" make static-check-analysis GOLANGCI_LINT_CONCURRENCY=1

0 commit comments

Comments
 (0)