summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authormo khan <mokhan@users.noreply.github.com>2019-10-27 15:32:52 -0600
committerGitHub <noreply@github.com>2019-10-27 15:32:52 -0600
commitbf1fbf7b69a2ab5c37ae0ad3c6ae867e3bd3cb1e (patch)
treed256ebc5ef045e91bd294b5cd47ae9926b32462c /.github
parentb77aa05d1e8b783ced758bab329603b2fd2ea9e7 (diff)
Update go.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/go.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..4f23a59
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,28 @@
+name: Go
+on: [push]
+jobs:
+
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: Set up Go 1.13
+ uses: actions/setup-go@v1
+ with:
+ go-version: 1.13
+ id: go
+
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+
+ - name: Get dependencies
+ run: |
+ go get -v -t -d ./...
+ if [ -f Gopkg.toml ]; then
+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
+ dep ensure
+ fi
+
+ - name: Test
+ run: ./bin/test