File tree Expand file tree Collapse file tree 2 files changed +40
-17
lines changed
Expand file tree Collapse file tree 2 files changed +40
-17
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : Test
3+ jobs :
4+ test :
5+ strategy :
6+ matrix :
7+ go-version : [1.15.x]
8+ platform : [ubuntu-18.04]
9+ runs-on : ${{ matrix.platform }}
10+ steps :
11+ - name : Install Go
12+ uses : actions/setup-go@v2
13+ with :
14+ go-version : ${{ matrix.go-version }}
15+ - uses : actions/cache@v2
16+ with :
17+ path : /usr/local/meter/bin
18+ key : ${{ runner.os }}-meterbin-v1-${{ hashFiles('**/Makefile') }}
19+ restore-keys : |
20+ ${{ runner.os }}-meterbin-v1-
21+ - uses : actions/cache@v2
22+ with :
23+ path : /github/home/.cache
24+ key : ${{ runner.os }}-go-v1-${{ hashFiles('**/go.sum') }}
25+ restore-keys : |
26+ ${{ runner.os }}-go-v1-
27+ - uses : actions/checkout@v2
28+ with :
29+ path : ' ./src/github.com/kevinburke/go-bindata'
30+ # staticcheck needs this for GOPATH
31+ - run : |
32+ echo "GOPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
33+ echo "PATH=$GITHUB_WORKSPACE/bin:$PATH" >> $GITHUB_ENV
34+ echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV
35+ - name : Download dependencies
36+ run : go get -t -v ./...
37+ working-directory : ' ./src/github.com/kevinburke/go-bindata'
38+ - name : Run tests
39+ run : make ci
40+ working-directory : ' ./src/github.com/kevinburke/go-bindata'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments