File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build and Lint Workflow
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 * * * *'
6+ push :
7+ branches :
8+ - ' *'
9+ workflow_dispatch :
10+
11+ jobs :
12+ lint :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ continue-on-error : true
17+ steps :
18+ - uses : actions/setup-python@master
19+ with :
20+ python-version : 3
21+ - run : pip install sphinx-lint
22+ - uses : actions/checkout@master
23+ with :
24+ ref : 3.13
25+ - uses : rffontenelle/sphinx-lint-problem-matcher@v1.0.0
26+ - run : sphinx-lint
27+
28+ build-translation :
29+ runs-on : ubuntu-latest
30+ strategy :
31+ fail-fast : false
32+ steps :
33+ - uses : actions/setup-python@master
34+ with :
35+ python-version : 3
36+ - uses : actions/checkout@master
37+ with :
38+ repository : python/cpython
39+ ref : 3.13
40+ - run : make venv
41+ working-directory : ./Doc
42+ - uses : actions/checkout@master
43+ with :
44+ ref : 3.13
45+ path : Doc/locales/fa/LC_MESSAGES
46+ - run : git pull
47+ working-directory : ./Doc/locales/fa/LC_MESSAGES
48+ - uses : sphinx-doc/github-problem-matcher@v1.1
49+ - run : make -e SPHINXOPTS="--color -D language='fa' -W --keep-going" html
50+ working-directory : ./Doc
51+ - uses : actions/upload-artifact@master
52+ if : success() || failure()
53+ with :
54+ name : build-3.13-html
55+ path : Doc/build/html
You can’t perform that action at this time.
0 commit comments