github action to test code

This commit is contained in:
David Dworken 2022-04-09 11:56:25 -07:00
parent 9f20074a4f
commit da4cab7a0b

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

@ -0,0 +1,21 @@
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Test
run: make test