Skip to content

Commit e9351e3

Browse files
committed
Limit golangci-lint concurrency in CI
1 parent 564b356 commit e9351e3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/continuous-integration.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
golangcilint-
6868
6969
- name: Lint
70+
env:
71+
GOMAXPROCS: "2" # limit golangci-lint concurrency to avoid OOMs when rebuilding
7072
run: make lint
7173

7274
security:

.golangci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
concurrency: 3
2+
concurrency: 2
33
timeout: 5m
44
issues-exit-code: 1
55
tests: true

0 commit comments

Comments
 (0)