Skip to content

Commit

Permalink
add github actions based automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlopshire authored Oct 11, 2019
1 parent ffd137c commit 311f46f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Go
on: [push]
jobs:
test:
name: Go test ${{ matrix.go }}
runs-on: ubuntu-16.04
strategy:
matrix:
go: ['1.10', '1.11', '1.12', '1.13' ]
steps:
- uses: actions/checkout@master
- name: Setup go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: go get & test
run: |
go get -v -t -d ./...
go test -v ./...

0 comments on commit 311f46f

Please sign in to comment.