setup github actions

This commit is contained in:
Jordan Whited
2020-11-23 14:20:53 -08:00
parent 49e376d95c
commit 6c78ee4e64
4 changed files with 68 additions and 16 deletions

22
.golangci.yml Normal file
View File

@@ -0,0 +1,22 @@
run:
timeout: 5m
linters:
enable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- gofmt
disable-all: true
linters-settings:
gofmt:
# simplify code: gofmt with `-s` option, true by default
simplify: false