From 222c119e546684967542161f8d8ddf4d9704b302 Mon Sep 17 00:00:00 2001 From: naiba Date: Sun, 13 Dec 2020 01:40:30 +0800 Subject: [PATCH] test fix --- .github/workflows/agent.yml | 3 +++ .goreleaser.yml | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 3665cc1..dd37618 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -20,6 +20,9 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.10.8 + run: | + go get -u github.com/StackExchange/wmi + go get -u github.com/inconshreveable/mousetrap - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: startsWith(github.ref, 'refs/tags/') diff --git a/.goreleaser.yml b/.goreleaser.yml index d14f268..c4a2ebf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,6 @@ before: hooks: - go get -v -d ./... - - go get -u github.com/StackExchange/wmi - - go get -u github.com/inconshreveable/mousetrap builds: - id: nezha-agent env: