From bc32bde21f215558130110592e7962344a59c71d Mon Sep 17 00:00:00 2001 From: Andrew Starr-Bochicchio Date: Wed, 10 Jun 2020 18:04:19 -0400 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..123ad0d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +name: Test & Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + name: Test & Build + runs-on: ubuntu-latest + strategy: + matrix: + go: [ '1.14', '1.13' ] + steps: + + - name: Set up Go ${{ matrix.go }} + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go }} + + - name: Check out code + uses: actions/checkout@v2 + + - name: Build + run: make build + + - name: Test + run: make test