mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
测试 go mod 兼容
This commit is contained in:
parent
dbdb0c412c
commit
6e9713a983
8
.github/workflows/agent.yml
vendored
8
.github/workflows/agent.yml
vendored
@ -16,6 +16,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Go latest version
|
||||
uses: actions/setup-go@v2
|
||||
- run: |
|
||||
go mod vendor
|
||||
- name: Set up Go 1.10.8
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.10.8
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
@ -1,6 +1,3 @@
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy -v
|
||||
builds:
|
||||
- id: nezha-agent
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user