File tree Expand file tree Collapse file tree 3 files changed +48
-2
lines changed
Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Docs
2+
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0' # run once a week on Sunday
8+ # Allows running this workflow manually from the Actions tab
9+ workflow_dispatch :
10+
11+ env :
12+ FORCE_COLOR : 1
13+
14+ jobs :
15+ tests :
16+ name : Docs
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Set up Python 3.13
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : 3.13
25+
26+ - name : Get pip cache dir
27+ id : pip-cache
28+ run : |
29+ echo "::set-output name=dir::$(pip cache dir)"
30+
31+ - name : Cache
32+ uses : actions/cache@v4
33+ with :
34+ path : ${{ steps.pip-cache.outputs.dir }}
35+ key :
36+ docs-v1-${{ hashFiles('**/pyproject.toml') }}
37+ restore-keys : |
38+ docs-v1-
39+
40+ - name : Install dependencies
41+ run : |
42+ python -m pip install -U pip tox
43+
44+ - name : Docs
45+ run : |
46+ tox -e docs
Original file line number Diff line number Diff line change 2323 ~/.cache/pip
2424 ~/.cache/pre-commit
2525 key :
26- lint-v1-${{ hashFiles('**/setup.py ') }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
26+ lint-v1-${{ hashFiles('**/pyproject.toml ') }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
2727 restore-keys : |
2828 lint-v1-
2929
Original file line number Diff line number Diff line change 5353 with :
5454 path : ${{ steps.pip-cache.outputs.dir }}
5555 key :
56- ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pytest-version }}-v1-${{ hashFiles('**/setup.py ') }}
56+ ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pytest-version }}-v1-${{ hashFiles('**/pyproject.toml ') }}
5757 restore-keys : |
5858 ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pytest-version }}-v1-
5959
You can’t perform that action at this time.
0 commit comments