From 132be53d27b3b24e70f3b92b6d067d3a8c1accfc Mon Sep 17 00:00:00 2001 From: Ian Lopshire Date: Tue, 3 Dec 2019 11:27:17 -0500 Subject: [PATCH] Add github actions based automated testing --- .github/workflows/go.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..267aefe --- /dev/null +++ b/.github/workflows/go.yml @@ -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 ./... \ No newline at end of file