Create go.yml

This commit is contained in:
kayos 2022-03-11 20:37:43 -08:00 committed by GitHub
parent 737458198e
commit 993dfdd805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/go.yml vendored Normal file

@ -0,0 +1,22 @@
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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: go test -race -v ./...