From f06e0fced7eaf51f37f71f74df00034b52222cf8 Mon Sep 17 00:00:00 2001 From: Anjan Roy <45074836+itzmeanjan@users.noreply.github.com> Date: Wed, 27 Jan 2021 20:46:33 +0530 Subject: [PATCH] Create go.yml creating automated workflow for building binary --- .github/workflows/go.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000..5367f838 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,20 @@ +name: Go + +on: + push: + 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.15 + + - name: Build + run: go build -v -o ette