File tree Expand file tree Collapse file tree 4 files changed +16
-68
lines changed
Expand file tree Collapse file tree 4 files changed +16
-68
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ jobs:
1414 with :
1515 fetch-depth : 0 # needed for merge-base below
1616
17+ - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
18+
1719 - name : Link check - relative links (all files)
1820 if : github.event_name == 'pull_request'
1921 env :
2022 GITHUB_TOKEN : ${{ github.token }}
21- run : ./.github/scripts/link-check.sh -- local-links-only
23+ run : mise run lint- local-links
2224
2325 - name : Get modified files
2426 if : github.event_name == 'pull_request'
@@ -50,10 +52,10 @@ jobs:
5052 if : github.event_name == 'pull_request' && steps.modified-files.outputs.files != ''
5153 env :
5254 GITHUB_TOKEN : ${{ github.token }}
53- run : ./.github/scripts/link-check.sh ${{ steps.modified-files.outputs.files }}
55+ run : mise run lint-links ${{ steps.modified-files.outputs.files }}
5456
5557 - name : Link check - all links (all files)
5658 if : github.event_name != 'pull_request' || steps.config-check.outputs.modified == 'true'
5759 env :
5860 GITHUB_TOKEN : ${{ github.token }}
59- run : ./.github/scripts/link-check.sh
61+ 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