add a github action to validate build

This commit is contained in:
Dany Khalife 2025-01-11 10:19:32 -08:00
parent 50b1357dfa
commit 370ed4da82
No known key found for this signature in database
GPG key ID: 76E792CED919B0DA

21
.github/workflows/go-build.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Build
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run: go build -v ./...