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:
13
13
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14
14
with :
15
15
fetch-depth : 0 # needed for merge-base below
16
-
16
+ - uses : jdx/mise-action@5cb1df66ed5e1fb3c670ea0b62fd17a76979826a # v2.3.1
17
17
- name : Link check - relative links (all files)
18
18
if : github.event_name == 'pull_request'
19
19
env :
20
20
GITHUB_TOKEN : ${{ github.token }}
21
- run : ./.github/scripts/link-check.sh -- local-links-only
21
+ run : mise run lint- local-links
22
22
23
23
- name : Get modified files
24
24
if : github.event_name == 'pull_request'
@@ -36,10 +36,10 @@ jobs:
36
36
if : github.event_name == 'pull_request' && steps.modified-files.outputs.files != ''
37
37
env :
38
38
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 }}
40
40
41
41
- name : Link check - all links (all files)
42
42
if : github.event_name != 'pull_request'
43
43
env :
44
44
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