modularize monitor, reduce init usage (#81)
* kill process tree using syscall on windows & cleanup (#80) * kill process tree using syscall on windows & cleanup * use job api * add error check for cmd.Start * modularize monitor, reduce init usage * replace slices with sort * update gopsutil & other dependencies
This commit is contained in:
@@ -61,13 +61,6 @@ jobs:
|
||||
with:
|
||||
go-version: "1.20.14"
|
||||
|
||||
# WARNING: This is temporary remove it after the next release of gopsutil
|
||||
- name: Patch gopsutil
|
||||
run: |
|
||||
sudo rm -rf $(printf "%s%s" "$(go env GOMODCACHE)" "/github.com/shirou/gopsutil/[email protected]")
|
||||
go mod tidy -v
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user