Skip to content

Commit

Permalink
Merge pull request #8 from RightMesh/feature/modules
Browse files Browse the repository at this point in the history
Migrate to Modules Project
  • Loading branch information
FrazerSeymour authored Sep 14, 2019
2 parents b6ab050 + f5f0de3 commit 6732b39
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/go.yml → .github/workflows/build.yml
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
13 changes: 0 additions & 13 deletions Makefile

This file was deleted.

3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/rightmesh/awdb

go 1.13

0 comments on commit 6732b39

Please sign in to comment.