Debian Codegraph @

.github/main.workflow

raw
1 workflow "Build and Test" {
2 on = "pull_request"
3 resolves = ["go test"]
4 }
5
6 action "go build" {
7 uses = "docker://golang:1.12.7"
8 runs = "go"
9 args = "build ./..."
10 env = {
11 GOPROXY = "https://proxy.golang.org"
12 }
13 }
14
15 action "go test" {
16 uses = "docker://golang:1.12.7"
17 needs = ["go build"]
18 runs = "go"
19 args = "test -v -cover -race ./..."
20 env = {
21 GOPROXY = "https://proxy.golang.org"
22 }
23 }