fix v0 ci & bugs (#91)
* fix potenial race * feat: add switch for nat and query * update gopsutil & fix ci --------- Co-authored-by: ChrisKim <[email protected]>
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