From afe62e0a7d7150fac5e85585dd72873d254ce386 Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Fri, 26 Feb 2021 04:43:29 -0300 Subject: [PATCH] ci: :green_heart: add build pipeline (#112) --- .github/workflows/go.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..569f9f8 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,23 @@ +name: Go + +on: [push, pull_request] + +jobs: + + build: + strategy: + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] + goversion: [ 1.14, 1.15 ] + + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.goversion }} + + - name: Build + run: go build -v ./...