GitHub+lint: reduce linter memory usage
To reduce the likelyhood of the linter OOMing on the GitHub runner, we exclude any generated code from being inspected and also tune the golang garbage collector to be a bit more agressive.
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -131,7 +131,7 @@ jobs:
|
||||
go-version: '${{ env.GO_VERSION }}'
|
||||
|
||||
- name: lint
|
||||
run: make lint
|
||||
run: GOGC=50 make lint
|
||||
|
||||
########################
|
||||
# cross compilation
|
||||
|
||||
Reference in new issue
Block a user