chore: use GitHub Actions.

- use GitHub Actions instead of TravisCI
- updates golangci-lint to v1.36.0 and applies my rules
This commit is contained in:
Ludovic Fernandez
2021-02-01 12:23:29 +01:00
committed by GitHub
parent d73111cda1
commit ccb8072759
14 changed files with 256 additions and 77 deletions

View File

@@ -37,6 +37,8 @@ func TestFile(t *testing.T) {
}
func runCheck(t *testing.T, p string) {
t.Helper()
wanted, goPath, errWanted := wantedFromComment(p)
if wanted == "" {
t.Skip(p, "has no comment 'Output:' or 'Error:'")