File tree Expand file tree Collapse file tree 10 files changed +1013
-1197
lines changed
Expand file tree Collapse file tree 10 files changed +1013
-1197
lines changed Original file line number Diff line number Diff line change 1+ name : Go Build
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["main"]
8+ jobs :
9+ build :
10+ name : Go Build
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v5
14+ - uses : actions/setup-go@v6
15+ with :
16+ go-version : ' ^1.24.7' # The Go version to download (if necessary) and use.
17+ # - name: golangci-lint
18+ # uses: golangci/golangci-lint-action@v8
19+ # with:
20+ # version: v2.4
21+ - run : go build ./...
22+ - run : go test
Original file line number Diff line number Diff line change 1- .idea
1+ .idea
2+ external-dns-coredns-webhook
Original file line number Diff line number Diff line change 1+ version : " 2"
2+ run :
3+ modules-download-mode : readonly
4+ tests : true
5+ linters :
6+ default : none
7+ enable :
8+ - copyloopvar
9+ - dogsled
10+ - dupl
11+ - errcheck
12+ - errname
13+ - exhaustive
14+ - forcetypeassert
15+ - funlen
16+ - gocognit
17+ - goconst
18+ - gocritic
19+ - gocyclo
20+ - godox
21+ - goprintffuncname
22+ - gosec
23+ - govet
24+ - importas
25+ - ineffassign
26+ - lll
27+ - misspell
28+ - mnd
29+ - nakedret
30+ - nestif
31+ - nilnil
32+ - nolintlint
33+ - prealloc
34+ - predeclared
35+ - promlinter
36+ - testpackage
37+ - thelper
38+ - unconvert
39+ - unused
40+ - whitespace
41+ settings :
42+ dupl :
43+ threshold : 100
44+ funlen :
45+ lines : 100
46+ statements : 50
47+ goconst :
48+ min-len : 2
49+ min-occurrences : 2
50+ gocritic :
51+ disabled-checks :
52+ - ifElseChain
53+ - octalLiteral
54+ - wrapperFunc
55+ enabled-tags :
56+ - diagnostic
57+ - opinionated
58+ - performance
59+ settings :
60+ hugeParam :
61+ sizeThreshold : 200
62+ gocyclo :
63+ min-complexity : 15
64+ lll :
65+ line-length : 130
66+ misspell :
67+ locale : US
68+ nolintlint :
69+ require-explanation : false
70+ require-specific : false
71+ allow-unused : false
72+ exclusions :
73+ generated : lax
74+ presets :
75+ - comments
76+ - common-false-positives
77+ - legacy
78+ - std-error-handling
79+ paths :
80+ - third_party$
81+ - builtin$
82+ - examples$
83+ formatters :
84+ enable :
85+ - gofumpt
86+ - goimports
87+ settings :
88+ goimports :
89+ local-prefixes :
90+ - github.com/GDATASoftwareAG/external-dns-coredns-webhook
91+ exclusions :
92+ generated : lax
93+ paths :
94+ - third_party$
95+ - builtin$
96+ - examples$
You can’t perform that action at this time.
0 commit comments