From 5e6ec0ba626e4685008b7201f1c45c1fbddc6fed Mon Sep 17 00:00:00 2001 From: Vaibhav Ahuja Date: Wed, 11 Sep 2024 17:04:36 +0530 Subject: [PATCH] Added build file --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..9dca853 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: Go + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.22 +# - name: Install Docker CLI Plugins +# run: | +# sudo apt-get update +# sudo apt-get install docker-compose + + - name: Build + run: go build -v ./... \ No newline at end of file