File tree Expand file tree Collapse file tree 1 file changed +28
-28
lines changed
Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Tests
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [master]
66 pull_request :
7- branches : [ master ]
7+ branches : [master]
88
99jobs :
1010
@@ -14,34 +14,34 @@ jobs:
1414 strategy :
1515 matrix :
1616 go :
17- - ^1.13
18- - ^1.14
17+ - ^1.19
18+ - ^1.20
1919 steps :
2020
21- - name : Set up Go 1.x
22- uses : actions/setup-go@v2
23- with :
24- go-version : ${{ matrix.go }}
25-
26- - name : Check out code into the Go module directory
27- uses : actions/checkout@v2
28-
29- - name : Install dependencies
30- run : |
31- sudo apt-get install -y libacl1-dev
32- go get golang.org/x/lint/golint
33-
34- - name : Test
35- run : |
36- make test
37- golint ./...
38-
39- - name : Build and run version
40- run : |
41- make VERSION=testing-version clean build
42- ./build/grafsy -v
43- CGO_ENABLED=0 make GO_FLAGS='-tags noacl' VERSION=testing-version clean build
44- ./build/grafsy -v
21+ - name : Set up Go 1.x
22+ uses : actions/setup-go@v2
23+ with :
24+ go-version : ${{ matrix.go }}
25+
26+ - name : Check out code into the Go module directory
27+ uses : actions/checkout@v2
28+
29+ - name : Install dependencies
30+ run : |
31+ sudo apt-get install -y libacl1-dev
32+ GO111MODULE=off go get golang.org/x/lint/golint
33+
34+ - name : Test
35+ run : |
36+ make test
37+ golint ./...
38+
39+ - name : Build and run version
40+ run : |
41+ make VERSION=testing-version clean build
42+ ./build/grafsy -v
43+ CGO_ENABLED=0 make GO_FLAGS='-tags noacl' VERSION=testing-version clean build
44+ ./build/grafsy -v
4545
4646 build :
4747 name : Build packages
You can’t perform that action at this time.
0 commit comments