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
2
2
on : pull_request
3
3
jobs :
4
4
5
- build :
6
- name : Build
5
+ module :
6
+ name : Module build
7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
matrix :
38
38
39
39
- name : Run Static Analyzer
40
40
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