chore(CI): add basic CI (build & test) for PRs and master pushes (#396)

This commit is contained in:
Boris Bera 2024-09-21 16:55:23 -04:00 committed by GitHub
parent 1f7240c6a0
commit 6a60d02759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

24
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: CI
on:
pull_request:
push:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go test -v ./...
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go build -v .