@@ -4,9 +4,9 @@ name: Checks
4
4
5
5
on :
6
6
push :
7
- branches : [ main ]
7
+ branches : [main]
8
8
pull_request :
9
- branches : [ main ]
9
+ branches : [main]
10
10
workflow_dispatch :
11
11
12
12
jobs :
@@ -19,67 +19,59 @@ jobs:
19
19
markdownlint :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - name : check out code
23
- uses : actions/checkout@v4
24
-
25
- - name : install dependencies
26
- run : npm install
27
-
28
- - name : run markdownlint
29
- run : make markdownlint
22
+ - name : check out code
23
+ uses : actions/checkout@v4
24
+ - name : install dependencies
25
+ run : npm install
26
+ - name : run markdownlint
27
+ run : make markdownlint
30
28
31
29
yamllint :
32
30
runs-on : ubuntu-latest
33
31
steps :
34
- - name : check out code
35
- uses : actions/checkout@v4
36
-
37
- - uses : actions/setup-python@v5
38
- with :
39
- python-version : ' 3.x'
40
-
41
- - name : install yamllint
42
- run : make install-yamllint
43
-
44
- - name : run yamllint
45
- run : yamllint . -f github
32
+ - name : check out code
33
+ uses : actions/checkout@v4
34
+ - uses : actions/setup-python@v5
35
+ with :
36
+ python-version : ' 3.x'
37
+ - name : install yamllint
38
+ run : make install-yamllint
39
+ - name : run yamllint
40
+ run : yamllint . -f github
46
41
47
42
misspell :
48
43
runs-on : ubuntu-latest
49
44
steps :
50
- - name : check out code
51
- uses : actions/checkout@v4
52
-
53
- - name : run misspell
54
- run : make misspell
45
+ - name : check out code
46
+ uses : actions/checkout@v4
47
+ - name : run misspell
48
+ run : make misspell
55
49
56
- markdownlinkcheck :
57
- name : markdownlinkcheck
50
+ checklinks :
51
+ name : linkspector
58
52
runs-on : ubuntu-latest
59
53
steps :
60
- - uses : actions/checkout@v4
61
- - name : Run link check
62
- uses : gaurav-nelson/github- action-markdown-link-check @v1
63
- with :
64
- use-quiet-mode : ' no '
65
- use-verbose-mode : ' yes '
66
- config-file : ' .github/.mlc_config.json '
54
+ - uses : actions/checkout@v4
55
+ - name : Run linkspector
56
+ uses : umbrelladocs/ action-linkspector @v1
57
+ with :
58
+ level : info
59
+ fail_level : any
60
+ config_file : ' .linkspector.yml '
67
61
68
62
sanity :
69
63
runs-on : ubuntu-latest
70
-
71
64
steps :
72
- - uses : actions/checkout@v4
73
-
74
- - name : run sanitycheck.py
75
- run : python3 ./internal/tools/sanitycheck.py
65
+ - uses : actions/checkout@v4
66
+ - name : run sanitycheck.py
67
+ run : python3 ./internal/tools/sanitycheck.py
76
68
77
69
checklicense :
78
70
runs-on : ubuntu-latest
79
71
steps :
80
- - name : check out code
81
- uses : actions/checkout@v4
82
- - name : install tools
83
- run : make install-tools
84
- - name : run checklicense
85
- run : make checklicense
72
+ - name : check out code
73
+ uses : actions/checkout@v4
74
+ - name : install tools
75
+ run : make install-tools
76
+ - name : run checklicense
77
+ run : make checklicense
0 commit comments