File tree Expand file tree Collapse file tree 4 files changed +15
-69
lines changed Expand file tree Collapse file tree 4 files changed +15
-69
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ jobs:
1313 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414 with :
1515 fetch-depth : 0 # needed for merge-base below
16-
16+ - uses : jdx/mise-action@5cb1df66ed5e1fb3c670ea0b62fd17a76979826a # v2.3.1
1717 - name : Link check - relative links (all files)
1818 if : github.event_name == 'pull_request'
1919 env :
2020 GITHUB_TOKEN : ${{ github.token }}
21- run : ./.github/scripts/link-check.sh -- local-links-only
21+ run : mise run lint- local-links
2222
2323 - name : Get modified files
2424 if : github.event_name == 'pull_request'
@@ -36,10 +36,10 @@ jobs:
3636 if : github.event_name == 'pull_request' && steps.modified-files.outputs.files != ''
3737 env :
3838 GITHUB_TOKEN : ${{ github.token }}
39- run : ./.github/scripts/link-check.sh ${{ steps.modified-files.outputs.files }}
39+ run : mise run lint-links ${{ steps.modified-files.outputs.files }}
4040
4141 - name : Link check - all links (all files)
4242 if : github.event_name != 'pull_request'
4343 env :
4444 GITHUB_TOKEN : ${{ github.token }}
45- run : ./.github/scripts/link-check.sh
45+ run : mise run lint-links
Original file line number Diff line number Diff line change 1+ [tools ]
2+ lychee = " 0.18.1"
3+
4+ [tasks .lint-local-links ]
5+ run = ' lychee --verbose --scheme file --include-fragments {{arg(name="files", default=".")}}'
6+
7+ [tasks .lint-links ]
8+ run = ' lychee --verbose --config .github/scripts/lychee-config.toml {{arg(name="files", default=".")}}'
9+
10+ [settings ]
11+ idiomatic_version_file_enable_tools = []
You can’t perform that action at this time.
0 commit comments