Merge pull request #93 from dkhalife/dev/ci
Add a build validation github action
This commit is contained in:
commit
de24fd5395
1 changed files with 21 additions and 0 deletions
21
.github/workflows/go-build.yml
vendored
Normal file
21
.github/workflows/go-build.yml
vendored
Normal 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 ./...
|
Loading…
Add table
Reference in a new issue