Skip to content

Commit

Permalink
ci: set GOGC for golangci-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-b committed Jun 21, 2023
1 parent 2eb596d commit a42de6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,8 @@ jobs:
with:
version: "${{ steps.golangci-lint-version.outputs.version }}"
args: --config .ci/.golangci2.yml
env:
# Trigger garbage collection more frequently to reduce the likelihood
# of OOM errors.
# ref: https://golangci-lint.run/usage/performance/#memory-usage
GOGC: "50"

0 comments on commit a42de6a

Please sign in to comment.