Skip to content

Commit 870f5f0

Browse files
committed
update ci yml
1 parent 8ec2df1 commit 870f5f0

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030

3131
- name: Setup environment
3232
run: |
33+
go get golang.org/x/crypto/ssh
3334
go get golang.org/x/tools/cmd/goimports
35+
go get github.com/wadey/gocovmerge
36+
go get github.com/mattn/goveralls
3437
3538
- name: Run go vet
3639
run: go vet ./...
@@ -39,26 +42,10 @@ jobs:
3942
run: |
4043
./script/format
4144
42-
# This workflow contains a job called "unit-test"
43-
unit-test:
44-
needs: build
45-
# The type of runner that the job will run on
46-
runs-on: ubuntu-latest
47-
48-
# Steps represent a sequence of tasks that will be executed as part of the job
49-
steps:
50-
- uses: actions/checkout@v2
51-
52-
- name: Setup environment
53-
run: |
54-
go get github.com/wadey/gocovmerge
55-
go get github.com/mattn/goveralls
56-
57-
# run acceptance test
5845
- name: Run unit tests
5946
run: |
60-
./script/coverage
6147
./script/unittest
48+
./script/coverage
6249
6350
- uses: shogo82148/[email protected]
6451
with:

0 commit comments

Comments
 (0)