~samwhited/xmpp

1c0ce6033da54cb223e9ce656429e3c8ca6f5e3a — Sam Whited 8 months ago dd61ea7
.builds: validate URLs in docs

Ensures that all links in the documentation point to valid full URLs
because relative links may break depending on whether we're viewing the
docs on Sourcehut or GitHub.

Fixes #41

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 2 insertions(+), 0 deletions(-)

M .builds/ci.yml
M .builds/ci.yml => .builds/ci.yml +2 -0
@@ 11,6 11,7 @@ tasks:
      go get -u golang.org/x/lint/golint
      go get -u github.com/securego/gosec/cmd/gosec
      go get -u git.sr.ht/~samwhited/checkdoc
      go get -u mellium.im/checkmd

      echo 'export PATH=$(go env GOPATH)/bin:$PATH' >> ~/.buildenv
  - stable: |


@@ 31,6 32,7 @@ tasks:
      golint -set_exit_status ./...
      gosec ./...
      checkdoc ./...
      checkmd .
  - validate: |
      cd xmpp/
      go mod tidy