Skip to content

Commit

Permalink
Garbage collection limit for golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor Kiss committed Sep 2, 2024
1 parent a8cae5b commit a9ae810
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
go-version-file: go.mod

- name: golangci-lint
env:
GOGC: "90" # Garbage collection limit to avoid OOM errors
uses: golangci/[email protected]
with:
args: --timeout=10m
Expand Down

0 comments on commit a9ae810

Please sign in to comment.