-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from RightMesh/feature/modules
Migrate to Modules Project
- Loading branch information
Showing
3 changed files
with
11 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
name: Go | ||
name: Build | ||
|
||
on: [push] | ||
jobs: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.12 | ||
- name: Set up Go 1.13 | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.12 | ||
go-version: 1.13 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v1 | ||
with: | ||
path: go/src/github.com/rightmesh/awdb | ||
|
||
- name: Install golint | ||
- name: Lint Project | ||
run: | | ||
export GOPATH=$(realpath ../../../..) | ||
go get golang.org/x/lint/golint | ||
$GOPATH/bin/golint ./... | ||
- name: Build project | ||
run: | | ||
export GOPATH=$(realpath ../../../..) | ||
make | ||
go build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/rightmesh/awdb | ||
|
||
go 1.13 |