From 7b38160fcfbe022223a7aeee6bdf0dbe2c259d35 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Wed, 30 Mar 2022 13:34:33 +0530 Subject: [PATCH] Add integration with github ci --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..94dce82 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Build + +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.17.0' + - name: Test + run: | + go mod download + go test -v ./... \ No newline at end of file