From dcd3d9f7151290c0e6f1596c10fed83d3cf835fe Mon Sep 17 00:00:00 2001 From: Ray Suffern Date: Mon, 3 Jun 2024 07:24:03 -0400 Subject: [PATCH] cicd: add github workflow ci --- .github/workflows/go.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 0000000..ee5229c --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,21 @@ +name: Go + +on: + push: + branches: [ main ] + pull_request: + 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.22 + + - name: Build + run: go build -v ./... \ No newline at end of file