mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
install faillint properly (#6194)
* install faillint properly Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com> * fixup! install faillint properly Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com> --------- Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
This commit is contained in:
1
.github/workflows/go.coverage.yml
vendored
1
.github/workflows/go.coverage.yml
vendored
@@ -22,6 +22,7 @@ jobs:
|
||||
|
||||
- name: Test With Coverage
|
||||
run: |
|
||||
go install github.com/fatih/faillint@latest
|
||||
for d in request core coremain plugin test; do \
|
||||
( cd $d; go test -coverprofile=cover.out -covermode=atomic -race ./...; [ -f cover.out ] && cat cover.out >> ../coverage.txt ); \
|
||||
done
|
||||
|
||||
2
.github/workflows/go.test.yml
vendored
2
.github/workflows/go.test.yml
vendored
@@ -63,7 +63,7 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
go install github.com/fatih/faillint || true
|
||||
go install github.com/fatih/faillint@latest
|
||||
( cd test; go test -race ./... )
|
||||
|
||||
test-makefile-release:
|
||||
|
||||
Reference in New Issue
Block a user