Add Github workflow

This commit is contained in:
Daniel Krol 2022-08-18 08:31:09 -04:00
parent 0cd0bee5be
commit 19129fb9bd

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

@ -0,0 +1,21 @@
name: Go package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...