From dd026b11122b686b61863a73e715e0eda2a8ec3d Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Tue, 7 May 2024 11:23:07 +0530 Subject: [PATCH] ci: add a compile check for open PRs --- .github/workflows/build-sanity.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build-sanity.yml diff --git a/.github/workflows/build-sanity.yml b/.github/workflows/build-sanity.yml new file mode 100644 index 000000000..7e1430220 --- /dev/null +++ b/.github/workflows/build-sanity.yml @@ -0,0 +1,22 @@ +name: Build Sanity Check + +on: + pull_request: + types: + - opened + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.22" + + - name: Prepare Dependencies and Build + run: make dist