File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : vet and build
2+
3+ on :
4+ pull_request :
5+ branches_ignore : []
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ go : ['1.13', '1.14', '1.15', '1.16']
13+
14+ name : Documentation and Linting
15+ steps :
16+
17+ - uses : actions/checkout@v2
18+ with :
19+ path : go/src/github.com/vbatts/git-validation
20+
21+ # commit for v1 release
22+ - uses : actions/setup-go@0caeaed6fd66a828038c2da3c0f662a42862658f
23+ with :
24+ go-version : ${{ matrix.go }}
25+
26+ - name : vet and build
27+ env :
28+ GOPATH : /home/runner/work/git-validation/git-validation/go
29+ run : |
30+ set -x
31+ export PATH=$GOPATH/bin:$PATH
32+ cd go/src/github.com/vbatts/git-validation
33+ go get ./...
34+ go vet -x ./...
35+ go build -v .
36+ go test -v ./...
37+ ./git-validation -run DCO,short-subject,dangling-whitespace -v -range ${GITHUB_SHA}..HEAD
You can’t perform that action at this time.
0 commit comments