mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-02 01:28:13 -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
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.10.8
|
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
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v2
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go get -v -d ./...
|
- go get -u -v -f all
|
||||||
builds:
|
builds:
|
||||||
- id: nezha-agent
|
- id: nezha-agent
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user