Skip to content

Commit

Permalink
fix: memory leak on Windows when calling SwapMemory (#72)
Browse files Browse the repository at this point in the history
* fix: memory leak on Windows when calling SwapMemory

* update
  • Loading branch information
uubulb authored Oct 5, 2024
1 parent e7613a8 commit dd7e413
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
with:
go-version: "1.20.14"

# WARNING: This is temporary remove it after the next release of gopsutil
- name: Patch gopsutil
run: |
curl -L https://github.com/shirou/gopsutil/pull/1722.patch | sudo patch -p1 -d $(printf "%s%s" "$(go env GOMODCACHE)" "/github.com/shirou/gopsutil/[email protected]")
- name: Build Test
if: github.event_name != 'push' || !contains(github.ref, 'refs/tags/')
uses: goreleaser/goreleaser-action@v6
Expand Down

0 comments on commit dd7e413

Please sign in to comment.