File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Load Diff This file was deleted.
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,9 +583,14 @@ else
583
583
endif
584
584
585
585
586
- .PHONY : yamllint
587
- yamllint :
588
- @docker run --rm $$(tty -s && echo "-it" || echo ) -v $(PWD ) :/data cytopia/yamllint:latest /data --config-file /data/.yamllint --no-warnings
586
+ .PHONY : verify-yamllint
587
+ verify-yamllint :
588
+ @docker run --rm $$(tty -s && echo "-it" || echo ) -v ${PWD} :/data cytopia/yamllint:latest /data --config-file /data/.yamllint --no-warnings
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 )
589
594
590
595
# # --------------------------------------
591
596
# # Cleanup / Verification
You can’t perform that action at this time.
0 commit comments