ci: add a compile check for open PRs (#1858)

This commit is contained in:
Karan Sharma 2024-05-07 11:26:34 +05:30 committed by GitHub
parent c108486041
commit 6886878ec5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
.github/workflows/build-sanity.yml vendored Normal file
View file

@ -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