From e61870ec60d3f44b43f47c46a32584f79cfacc89 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Wed, 13 Apr 2022 17:01:11 -0700 Subject: [PATCH] Create go-build.yml (#4) --- .github/workflows/go-build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/go-build.yml diff --git a/.github/workflows/go-build.yml b/.github/workflows/go-build.yml new file mode 100644 index 0000000..53daa00 --- /dev/null +++ b/.github/workflows/go-build.yml @@ -0,0 +1,25 @@ +name: Go + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.18 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...