From 3c8b1790d08ae84abe67efd3ba5f58396d2e05b0 Mon Sep 17 00:00:00 2001 From: Zikani Nyirenda Mwase Date: Mon, 13 Sep 2021 07:22:07 +0200 Subject: [PATCH] Add github action yaml --- .github/workflows/basic.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/basic.yml diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml new file mode 100644 index 0000000..e90a4b7 --- /dev/null +++ b/.github/workflows/basic.yml @@ -0,0 +1,19 @@ +name: basic +on: + push: + tags: [ "v*" ] + branches: [ master ] + pull_request: + branches: [ "*" ] +jobs: + build: + name: build-dialoguss + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v2 + with: + stable: true + go-version: 1.16.x + - uses: actions/checkout@v2 + - name: run go mod + run: go mod tidy && go build \ No newline at end of file