File tree Expand file tree Collapse file tree 3 files changed +23
-10
lines changed Expand file tree Collapse file tree 3 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - master
7+ pull_request :
8+ branches :
9+ - main
10+ - master
11+ jobs :
12+ test :
13+ strategy :
14+ matrix :
15+ platform : [ubuntu-20.04]
16+ runs-on : ${{ matrix.platform }}
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v2
20+ - name : test
21+ run : make test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33REPO_NAME = go-plugins-helpers
44REPO_OWNER = docker
55PKG_NAME = github.com/${REPO_OWNER}/${REPO_NAME}
6- IMAGE = golang:1.13
6+ IMAGE = golang:1.16
77
88all : test
99
@@ -12,7 +12,7 @@ test-local: install-deps fmt lint vet
1212 @go test -v ./...
1313
1414test :
15- @docker run -v ${shell pwd} :/go/src/${PKG_NAME} -w /go/src/${PKG_NAME} ${IMAGE} make test-local
15+ @docker run -e GO111MODULE=off - v ${shell pwd} :/go/src/${PKG_NAME} -w /go/src/${PKG_NAME} ${IMAGE} make test-local
1616
1717install-deps :
1818 @echo " + $@ "
You can’t perform that action at this time.
0 commit comments