From 4efec6b76abb125e74d90142a6fcfbef314aa992 Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Thu, 25 Mar 2021 21:05:07 -0400 Subject: [PATCH] Add github actions workflow --- .github/workflows/workflow.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..d5c25dd --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,20 @@ +name: build-test +on: + push: + branches: + - v2-wip + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + go: [ '1.15', '1.16' ] + name: Test on ${{ matrix.go }} + steps: + - uses: actions/checkout@master + - name: Setup go + uses: actions/setup-go@master + with: + go-version: ${{ matrix.go }} + - run: go test ./...