migrate CI to GitHub Actions

use codecov.io to report on code coverage.
fix a few issues raised by golangci-lint
This commit is contained in:
Will Norris
2021-07-27 12:23:29 -07:00
committed by Will Norris
parent 874627749a
commit 792e7a3462
7 changed files with 84 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ func TestFetchTemplate(t *testing.T) {
}{
// custom template files
{
"non-existant template file",
"non-existent template file",
"",
"/does/not/exist",
spdxOff,
@@ -62,7 +62,7 @@ func TestFetchTemplate(t *testing.T) {
"",
spdxOff,
"",
errors.New(`unknown license: "unknown". Include the '-s' flag to request SPDX style headers using this license.`),
errors.New(`unknown license: "unknown". Include the '-s' flag to request SPDX style headers using this license`),
},
// pre-defined license templates, no SPDX