File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Docker build
33on : [push]
44
55jobs :
6- build :
6+ docker- build :
77 # we are using ubuntu as it ships with docker pre-installed
88 runs-on : ubuntu-latest
99 steps :
Original file line number Diff line number Diff line change 1+ name : Go Test & Build
2+
3+ on : [push]
4+
5+ jobs :
6+ go-test-build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+
11+ - name : Set up Go
12+ uses : actions/setup-go@v3
13+ with :
14+ go-version : 1.19
15+
16+ - name : Install Dependencies
17+ run : go install ./
18+
19+ - name : Run Go Tests
20+ run : go test -v ./
21+
22+ - name : Build wrlookup
23+ run : go build -v -o wrlookup ./cmd/wrlookup/main.go
24+
25+ - name : Build wrserver
26+ run : go build -v -o wrserver ./cmd/wrserver/main.go
You can’t perform that action at this time.
0 commit comments