File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Continuous Integration
22on : pull_request
33jobs :
44
5- build :
6- name : Build
5+ module :
6+ name : Module build
77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
3838
3939 - name : Run Static Analyzer
4040 run : go vet -v ./...
41+
42+ gopath :
43+ name : Gopath build
44+ runs-on : ubuntu-latest
45+ env :
46+ GOPATH : ${{ github.workspace }}/go
47+
48+ steps :
49+ - name : Set up Go 1.12
50+ uses : actions/setup-go@v1
51+ with :
52+ go-version : 1.12
53+
54+ - name : Check out code into GOPATH
55+ uses : actions/checkout@v2
56+ with :
57+ path : go/src/firebase.google.com/go
58+
59+ - name : Get dependencies
60+ run : go get -t -v $(go list ./... | grep -v integration)
61+
62+ - name : Run Unit Tests
63+ run : go test -v -race -test.short firebase.google.com/go/...
You can’t perform that action at this time.
0 commit comments