File tree 4 files changed +4
-72
lines changed
4 files changed +4
-72
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: test
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
6
+ build :
7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
matrix :
14
14
with :
15
15
go-version : ${{ matrix.version }}
16
16
- uses : actions/checkout@v2
17
- - uses : actions/cache@v2
18
- with :
19
- path : |
20
- ~/.cache/go-build
21
- ~/go/pkg/mod
22
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
23
- restore-keys : |
24
- ${{ runner.os }}-go-
25
- - run : make ginkgo
26
- lint :
27
- runs-on : ubuntu-latest
28
- steps :
29
- - uses : actions/setup-go@v2
30
- with :
31
- go-version : ' 1.16'
32
- - uses : actions/checkout@v2
33
- - uses : actions/cache@v2
34
- with :
35
- path : |
36
- ~/.cache/go-build
37
- ~/go/pkg/mod
38
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
39
- restore-keys : |
40
- ${{ runner.os }}-go-
41
- - run : make download
42
- - run : make fmt
43
- - run : make vet
17
+ - run : go mod tidy && git diff --exit-code go.mod go.sum
18
+ - run : go vet ./...
19
+ - run : go run github.com/onsi/ginkgo/v2/ginkgo -r --randomize-all --randomize-suites --race --trace --fail-on-pending --keep-going
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments