Skip to content

Commit

Permalink
Use Github Actions
Browse files Browse the repository at this point in the history
Modified workflow from the default one suggested by github
  • Loading branch information
svishwanath-tw committed Nov 14, 2019
1 parent 8423dce commit 6e22faf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Go
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Get dependencies
run: go get -v -t -d ./...

- name: Run tests
run: go test -v ./...

- name: Build
run: ./build

0 comments on commit 6e22faf

Please sign in to comment.