@@ -10,6 +10,10 @@ concurrency:
1010 group : ${{ github.workflow }}-${{ github.ref }}
1111 cancel-in-progress : true
1212
13+ # Force to use color
14+ env :
15+ FORCE_COLOR : true
16+
1317jobs :
1418 # Avoid Latin phrases to improve readability
1519 latin-phrases :
@@ -18,20 +22,11 @@ jobs:
1822 - uses : actions/checkout@v4
1923 - uses : actions/setup-python@v5
2024 with :
21- python-version : 3
25+ python-version : 3.12
2226 - name : Install dependencies
23- run : |
24- python -m pip install --upgrade pip rich
25- python -m pip install -e tools[ci]
26- - name : Run Python script to check for Latin phrases - Master
27- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
28- run : |
29- python no-bad-latin.py
30- working-directory : tools/ci
31- - name : Run Python script to check for Latin phrases - Pull Request
32- if : github.event.pull_request
33- run : |
34- python no-bad-latin.py
27+ run : python -m pip install -e tools[ci]
28+ - name : Check for Latin phrases
29+ run : python no-bad-latin.py
3530 working-directory : tools/ci
3631
3732 # Markdown formatting
4439 node-version : 14
4540 - name : Run markdown style checks
4641 run : make remark
42+
43+ # validate bep leads metadata
44+ bep-leads :
45+ runs-on : ubuntu-latest
46+ steps :
47+ - uses : actions/checkout@v4
48+ with :
49+ submodules : true
50+ - uses : actions/setup-python@v5
51+ with :
52+ python-version : 3.12
53+ - name : Install dependencies
54+ run : python -m pip install -e tools[ci]
55+ - name : Check bep lead metadata
56+ run : python validate_people.py
57+ working-directory : tools/ci
58+
59+ # validate bep leads metadata
60+ apps :
61+ runs-on : ubuntu-latest
62+ steps :
63+ - uses : actions/checkout@v4
64+ - uses : actions/setup-python@v5
65+ with :
66+ python-version : 3.12
67+ - name : Install dependencies
68+ run : python -m pip install -e tools[ci]
69+ - name : Check bep lead metadata
70+ run : python validate_apps.py
71+ working-directory : tools/ci
72+
73+ # check links
74+ link-check :
75+ runs-on : ubuntu-latest
76+ steps :
77+ - uses : actions/checkout@v4
78+ - uses : gaurav-nelson/github-action-markdown-link-check@v1
79+ with :
80+ use-quiet-mode : yes
81+ # use-verbose-mode: no
82+ config-file : md_link_check_config.json
83+ folder-path : docs
84+ file-path : ./README.md
0 commit comments