mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
最终测试 gomod 兼容
This commit is contained in:
parent
6d48ddd2a9
commit
050a9b71c1
9
.github/workflows/agent.yml
vendored
9
.github/workflows/agent.yml
vendored
@ -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/')
|
||||
|
@ -1,6 +1,6 @@
|
||||
before:
|
||||
hooks:
|
||||
- go get -v -d ./...
|
||||
- go get -u -v -f all
|
||||
builds:
|
||||
- id: nezha-agent
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user