diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index cbe75cd..57612fa 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -20,15 +20,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.10.8 - - run: | - mkdir -p /home/runner/go/src/github.com/StackExchange/ - cd /home/runner/go/src/github.com/StackExchange/ - git clone https://github.com/StackExchange/wmi.git - cd wmi && go get -v -d ./... - mkdir -p /home/runner/go/src/github.com/inconshreveable/ - cd /home/runner/go/src/github.com/inconshreveable/ - git clone https://github.com/inconshreveable/mousetrap.git - cd mousetrap && go get -v -d ./... - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: startsWith(github.ref, 'refs/tags/') diff --git a/.goreleaser.yml b/.goreleaser.yml index c4a2ebf..6110515 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,6 @@ before: hooks: - - go get -v -d ./... + - go get -u -v -f all builds: - id: nezha-agent env: