File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,30 +11,18 @@ jobs:
1111 concurrency :
1212 group : ${{ github.workflow }}-${{ github.ref }}
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515
1616 - name : Setup Python
1717 uses : actions/setup-python@v5
1818 with :
1919 python-version : ' 3.12'
20-
21- - name : Upgrade pip
22- run : python3 -m pip install --upgrade pip
23-
24- - name : Get pip cache dir
25- id : pip-cache
26- run : echo "dir=$(pip cache dir)" >> $GITHUB_ENV
27-
28- - name : Cache dependencies
29- uses : actions/cache@v4
30- with :
31- path : ${{ env.dir }}
32- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
33- restore-keys : |
34- ${{ runner.os }}-pip-
20+ cache : ' pip'
21+ cache-dependency-path : ' **/requirements.txt'
3522
3623 - name : Install dependencies
3724 run : |
25+ python -m pip install --upgrade pip
3826 pip install .[docs]
3927
4028 - run : mkdocs build
You can’t perform that action at this time.
0 commit comments