From ccf23a0a022c4a83ca68c98029f6d1c5be0a1a0b Mon Sep 17 00:00:00 2001 From: Soubhik Gon <119437069+zakhaev26@users.noreply.github.com> Date: Sat, 11 Nov 2023 01:37:30 +0530 Subject: [PATCH] feat(ci): ci in main branch --- .github/workflows/go.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..1b74f31 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,23 @@ +name: Build + +on: + push: + branches: + - api/* + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.21.0 + + - name: Build API + run: go build -o apiserver .