Skip to content

Commit 7237279

Browse files
committed
Install golint and build project with relative GOPATH.
1 parent fe7e0b6 commit 7237279

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/go.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,12 @@ jobs:
1717
with:
1818
path: go/src/github.com/rightmesh/awdb
1919

20-
- name: Build
21-
run: go build -v .
20+
- name: Install golint
21+
run: |
22+
export GOPATH=$(realpath ../../../..)
23+
go get golang.org/x/lint/golint
24+
25+
- name: Build project
26+
run: |
27+
export GOPATH=$(realpath ../../../..)
28+
make

0 commit comments

Comments
 (0)