From 4e9348d2ad3f6a55ce05be46c60852cb806704cb Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Fri, 12 Mar 2021 10:11:18 -0600 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..73e484b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] +name: CI +jobs: + test: + strategy: + matrix: + go-version: [1.14.x, 1.15.x, 1.16.x] + platform: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.platform }} + steps: + - name: Install Go + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go-version }} + + - name: Checkout + uses: actions/checkout@v2 + + - name: Build + run: go build ./... + + - name: Test + run: go test ./...