Skip to content

Commit

Permalink
lychee
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Nov 30, 2024
1 parent 57b1001 commit e4ac622
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 56 deletions.
15 changes: 0 additions & 15 deletions .github/config/markdown-link-check-config.json

This file was deleted.

17 changes: 0 additions & 17 deletions .github/scripts/markdown-link-check-with-retry.sh

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ jobs:
name: integration-test-results
path: jmx-metrics/build/reports/tests/integrationTest

markdown-link-check:
uses: ./.github/workflows/reusable-markdown-link-check.yml
link-check:
uses: ./.github/workflows/reusable-link-check.yml

markdown-lint-check:
uses: ./.github/workflows/reusable-markdown-lint.yml
Expand All @@ -125,7 +125,7 @@ jobs:
# and so would not short-circuit if used in the second-last position
name: publish-snapshots${{ (github.ref_name != 'main' || github.repository != 'open-telemetry/opentelemetry-java-contrib') && ' (skipped)' || '' }}
needs:
# intentionally not blocking snapshot publishing on markdown-link-check or misspell-check
# intentionally not blocking snapshot publishing on link-check or misspell-check
- build
- integration-test
runs-on: ubuntu-latest
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/reusable-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Reusable - Check links

on:
workflow_call:

jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: lycheeverse/lychee-action@v2
with:
lycheeVersion: nightly
args: >
--include-fragments
--retry-wait-time 1
--max-retries 5
--exclude-path CHANGELOG.md
.
21 changes: 0 additions & 21 deletions .github/workflows/reusable-markdown-link-check.yml

This file was deleted.

0 comments on commit e4ac622

Please sign in to comment.