Skip to content

Commit b6829c6

Browse files
committed
Make docs as part of CI
Signed-off-by: Martin Skøtt <[email protected]>
1 parent c840d61 commit b6829c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
# Because all the git clones are much less reliable
2020
export GOPROXY=https://proxy.golang.org
2121
go install github.com/onsi/ginkgo/v2/ginkgo@latest
22+
go install github.com/cpuguy83/go-md2man@latest
2223
make GOOPTS=-buildvcs=false
2324
export PATH=$PATH:$HOME/go/bin
2425
make integration_tests

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ all: out_dir docs
88
out_dir:
99
mkdir -p $(output_dir)
1010

11-
lint:
11+
lint: validate_docs
1212
golangci-lint --build-tags $(build_tags) run
1313

1414
integration_tests:
@@ -26,6 +26,6 @@ clean:
2626
rm -f $(output_dir)/*
2727
make -C docs clean
2828

29-
.PHONY: validate
30-
validate:
29+
.PHONY: validate_docs
30+
validate_docs:
3131
hack/man-page-checker

0 commit comments

Comments
 (0)