Set up CI using github actions

This commit is contained in:
Alex Flint 2020-04-03 11:45:13 -04:00 committed by GitHub
parent 6f3675fdf1
commit cfdee944f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
run: go build -v .
- name: Test
run: go test -v .