From 53e739d94ac89606a6801ed809e7536b710c81d7 Mon Sep 17 00:00:00 2001 From: ITninja04 <15346572+ITninja04@users.noreply.github.com> Date: Mon, 22 Mar 2021 10:11:28 -0500 Subject: [PATCH] Created action --- .github/workflows/go.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..eb198be --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,28 @@ +name: Go + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.16 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... + + - name: TestCoverage + run: go test -covermode=count -v ./...