From eeb72297f7c197ff9be28eca669991365851f648 Mon Sep 17 00:00:00 2001 From: Benson Wong Date: Tue, 11 Mar 2025 08:45:56 -0700 Subject: [PATCH] add first version of CI for go --- .github/workflows/go-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/go-ci.yml diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml new file mode 100644 index 0000000..e427980 --- /dev/null +++ b/.github/workflows/go-ci.yml @@ -0,0 +1,27 @@ +# This workflow will build a golang project + +name: Go + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows manual triggering of the workflow + workflow_dispatch: + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + + - name: Test + run: make test-all