From 39e81c7775be0403f65f3255af91464d44f31535 Mon Sep 17 00:00:00 2001 From: PrathyushaLakkireddy Date: Tue, 17 Sep 2024 11:28:12 +0530 Subject: [PATCH] add github actions build workflow --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2ae1627 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build + +on: + pull_request: + push: + branches: + - main + +concurrency: + group: ci-${{ github.ref }}-build + cancel-in-progress: true + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install Go + uses: actions/setup-go@v3 + with: + go-version: "1.22" + + - name: Display Go version + run: go version + + - name: Build cada + run: make build