File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ define checkdiff
515
515
git --no-pager diff --name-only FETCH_HEAD
516
516
endef
517
517
518
- ALL_VERIFY_CHECKS = boilerplate shellcheck modules gen conversions go-version
518
+ ALL_VERIFY_CHECKS = boilerplate shellcheck modules gen conversions go-version yamllint linkcheck
519
519
520
520
.PHONY : verify
521
521
verify : $(addprefix verify-,$(ALL_VERIFY_CHECKS ) ) # # Run all verify-* targets
@@ -583,10 +583,15 @@ else
583
583
endif
584
584
585
585
586
- .PHONY : yamllint
587
- yamllint :
586
+ .PHONY : verify- yamllint
587
+ verify- yamllint :
588
588
@docker run --rm $$(tty -s && echo "-it" || echo ) -v $(PWD ) :/data cytopia/yamllint:latest /data --config-file /data/.yamllint --no-warnings
589
589
590
+ MD_FILES := $(shell find . -iname "* .md")
591
+ .PHONY : verify-linkcheck
592
+ verify-linkcheck :
593
+ docker run --init -w /input -v $(PWD ) :/input --rm -it ghcr.io/tcort/markdown-link-check:3.12 -q -p $(MD_FILES )
594
+
590
595
# # --------------------------------------
591
596
# # Cleanup / Verification
592
597
# # --------------------------------------
You can’t perform that action at this time.
0 commit comments