From 70aaa115124fc7be6eda745106513c296d9e70a8 Mon Sep 17 00:00:00 2001 From: zakhaev26 Date: Sun, 7 Jan 2024 17:56:11 +0530 Subject: [PATCH] connector ci configurations --- .github/workflows/check_connector_build.yml | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/check_connector_build.yml diff --git a/.github/workflows/check_connector_build.yml b/.github/workflows/check_connector_build.yml new file mode 100644 index 0000000..0f033c1 --- /dev/null +++ b/.github/workflows/check_connector_build.yml @@ -0,0 +1,33 @@ +name: BUILD_CONNECTOR_API + +on: + push: + branches: + - main + pull_request: + branches: + - 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.4 + + - name: Update & Download Deps + run: | + cd connector/ + go mod tidy + + - name: Build Connector API + run: go build -C connector/ -o connector + +