From 7069f28ccd9f9f85eccac0c4b34b77f3d53df65f Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 13 May 2024 07:19:56 -0400 Subject: added a github action for building the go package --- .github/workflows/go_build.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/go_build.yaml diff --git a/.github/workflows/go_build.yaml b/.github/workflows/go_build.yaml new file mode 100644 index 0000000..6f1f8ca --- /dev/null +++ b/.github/workflows/go_build.yaml @@ -0,0 +1,17 @@ +name: Go +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +jobs: + build: + runs-on: alpine-3.19 + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.21' + - name: Build + run: go build -v ./... -- cgit v1.2.3