add github workflows

This commit is contained in:
MedzikUser 2021-08-14 22:33:11 +02:00
parent a4f435c460
commit 09009a7c41
1 changed files with 19 additions and 0 deletions

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

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