diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index fe9319f8..6b668b46 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -84,9 +84,14 @@ jobs: timeout-minutes: 15 steps: - uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2 + # v2.9.0 runs lychee v0.24.2. v2.0.2 ran v0.16.1, which has no --root-dir at all; a relative + # --root-dir works from lychee v0.22.0. The job token is this Gitea's and means nothing to the + # GitHub hosts lychee would send it to, so none is passed, and Gitea has no job summary page. - name: Check committed documentation links - uses: https://github.com/lycheeverse/lychee-action@7cd0af4c74a61395d455af97419279d86aafaede # lycheeverse/lychee-action@v2.0.2 + uses: https://github.com/lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # lycheeverse/lychee-action@v2.9.0 with: + token: "" + jobSummary: false args: >- --no-progress --root-dir . diff --git a/src/bootstrap/app/src/test/java/dev/caskeleton/bootstrap/contract/DeveloperExperienceContractTest.java b/src/bootstrap/app/src/test/java/dev/caskeleton/bootstrap/contract/DeveloperExperienceContractTest.java index 67c5b4eb..92dda415 100644 --- a/src/bootstrap/app/src/test/java/dev/caskeleton/bootstrap/contract/DeveloperExperienceContractTest.java +++ b/src/bootstrap/app/src/test/java/dev/caskeleton/bootstrap/contract/DeveloperExperienceContractTest.java @@ -170,7 +170,7 @@ class DeveloperExperienceContractTest { .as("a conditional link check is one nobody sees run") .isFalse(); assertThat(String.valueOf(lycheeStep.get("uses"))) - .endsWith("lycheeverse/lychee-action@7cd0af4c74a61395d455af97419279d86aafaede"); + .endsWith("lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8"); Map with = requireMap(lycheeStep, "with"); assertThat(with.get("fail")).isEqualTo(true); assertThat(shellWords(requireString(with, "args")))