修改github action
This commit is contained in:
parent
76d1e8215d
commit
7212aa3220
11
.github/workflows/go.yml
vendored
11
.github/workflows/go.yml
vendored
|
@ -21,17 +21,6 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
#执行测试
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up GO
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
check-latest: true
|
||||
|
||||
- name: Test
|
||||
run: go test -run=Test
|
||||
|
|
Loading…
Reference in a new issue