Skip to content

Commit 2542387

Browse files
committed
Replace makefile with go commands in build action.
1 parent fdb9e84 commit 2542387

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Go
2+
23
on: [push]
3-
jobs:
44

5+
jobs:
56
build:
67
name: Build
78
runs-on: ubuntu-latest
@@ -17,12 +18,12 @@ jobs:
1718
with:
1819
path: go/src/github.com/rightmesh/awdb
1920

20-
- name: Install golint
21+
- name: Lint Project
2122
run: |
2223
export GOPATH=$(realpath ../../../..)
2324
go get golang.org/x/lint/golint
25+
$GOPATH/bin/golint ./...
2426
2527
- name: Build project
2628
run: |
27-
export GOPATH=$(realpath ../../../..)
28-
make
29+
go build ./...

0 commit comments

Comments
 (0)