ci: github actions (#107)

Github actions workflow for CI.

Updates #106
This commit is contained in:
Michael McLoughlin
2020-01-03 17:32:09 -08:00
committed by GitHub
parent cfc6ecac41
commit 3426f8bd2d
2 changed files with 48 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ main=$1
coverprofile=$2
# Temporary working directory.
workdir=$(mktemp -d)
workdir=$(mktemp -d tmpXXXXXXXX)
# Wrap the main function in a go test.
cp ${main} ${workdir}