add git action

This commit is contained in:
Andre Medeiros 2021-07-14 15:22:49 -04:00
parent 3dbbe92603
commit 1555c9bcf2

16
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,16 @@
on: [push, pull_request]
name: Unit Tests
jobs:
test:
name: "go ${{ matrix.go-version }}"
matrix:
go-version: [1.16.5]
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test ./...