github: add a CI workflow

This commit is contained in:
William Woodruff 2022-03-02 17:04:57 -05:00
parent 938e8515ce
commit 7fd9ecdcc0
No known key found for this signature in database
GPG Key ID: 70F70A3979DDCED3

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

@ -0,0 +1,27 @@
name: Go
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./tests