fix: memory leak on Windows when calling SwapMemory (#72)
* fix: memory leak on Windows when calling SwapMemory * update
This commit is contained in:
parent
e7613a8d01
commit
dd7e4132f9
5
.github/workflows/agent.yml
vendored
5
.github/workflows/agent.yml
vendored
@ -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/v4@v4.24.9")
|
||||
|
||||
- name: Build Test
|
||||
if: github.event_name != 'push' || !contains(github.ref, 'refs/tags/')
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
|
Loading…
x
Reference in New Issue
Block a user