feat(ci): add CD/CI pipelines

- Enable Dependabot
- Run build/test pipelines
- Add GoReleaser release/nightly pipelines
- Add lint pipelines
This commit is contained in:
Ayman Bagabas
2023-07-13 11:07:02 -04:00
parent 79edec1f07
commit 03fd12059d
9 changed files with 190 additions and 0 deletions

47
.golangci-soft.yml Normal file
View File

@@ -0,0 +1,47 @@
run:
tests: false
issues:
include:
- EXC0001
- EXC0005
- EXC0011
- EXC0012
- EXC0013
max-issues-per-linter: 0
max-same-issues: 0
linters:
enable:
# - dupl
- exhaustive
# - exhaustivestruct
- goconst
- godot
- godox
- gomnd
- gomoddirectives
- goprintffuncname
- ifshort
# - lll
- misspell
- nakedret
- nestif
- noctx
- nolintlint
- prealloc
- wrapcheck
# disable default linters, they are already enabled in .golangci.yml
disable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck