diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8371c27f61..67e06543ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,7 @@ jobs: - unused-media - test-go-redirects - dockerfile-lint + - path-warnings steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index 98d99a6750..3744348029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,6 +109,18 @@ set -ex ./scripts/test_unused_media.sh EOT +# path-warnings checks for duplicate target paths +FROM build-base AS path-warnings +RUN hugo --printPathWarnings > /path-warnings.txt +RUN <