Add GitHub Actions

This commit is contained in:
Joshua Spence
2021-06-24 12:33:36 +10:00
committed by Paul Tyng
parent 0f7cae7373
commit 496fcdf07c
3 changed files with 74 additions and 0 deletions

21
.golangci.yaml Normal file
View File

@@ -0,0 +1,21 @@
---
linters:
disable-all: true
enable:
- "deadcode"
- "errcheck"
- "errorlint"
- "gofmt"
- "gosimple"
- "govet"
- "ineffassign"
- "makezero"
- "misspell"
- "nakedret"
- "nilerr"
- "staticcheck"
- "structcheck"
- "unconvert"
- "unparam"
- "unused"
- "varcheck"