ci: added test workflow

This commit is contained in:
Geoff Bourne 2021-11-13 14:51:30 -06:00
parent c2edbdc95b
commit 76ef1ce1ab
1 changed files with 26 additions and 0 deletions

26
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Test
run: |
go test ./...