mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -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
|
- name: Test With Coverage
|
||||||
run: |
|
run: |
|
||||||
|
go install github.com/fatih/faillint@latest
|
||||||
for d in request core coremain plugin test; do \
|
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 ); \
|
( cd $d; go test -coverprofile=cover.out -covermode=atomic -race ./...; [ -f cover.out ] && cat cover.out >> ../coverage.txt ); \
|
||||||
done
|
done
|
||||||
|
|||||||
2
.github/workflows/go.test.yml
vendored
2
.github/workflows/go.test.yml
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
go install github.com/fatih/faillint || true
|
go install github.com/fatih/faillint@latest
|
||||||
( cd test; go test -race ./... )
|
( cd test; go test -race ./... )
|
||||||
|
|
||||||
test-makefile-release:
|
test-makefile-release:
|
||||||
|
|||||||
Reference in New Issue
Block a user