最终测试 gomod 兼容

This commit is contained in:
naiba 2020-12-13 02:06:28 +08:00
parent 6d48ddd2a9
commit 050a9b71c1
2 changed files with 1 additions and 10 deletions

View File

@ -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/')

View File

@ -1,6 +1,6 @@
before:
hooks:
- go get -v -d ./...
- go get -u -v -f all
builds:
- id: nezha-agent
env: