File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 pull_request :
88 branches : [main]
99
10+ permissions :
11+ contents : read
12+
1013concurrency :
1114 group : ${{ github.workflow }}-${{ github.ref }}
1215 cancel-in-progress : true
3033 uses : actions/setup-python@v5
3134 with :
3235 python-version : ' 3.11'
36+ cache : pip
3337
3438 - name : Check Python formatting
3539 run : |
97101 uses : actions/setup-python@v5
98102 with :
99103 python-version : ' 3.11'
104+ cache : pip
100105
101106 - name : Install Sphinx
102107 run : |
@@ -129,6 +134,7 @@ jobs:
129134 uses : actions/setup-python@v5
130135 with :
131136 python-version : ' 3.11'
137+ cache : pip
132138
133139 - name : Run pre-commit
134140 uses : pre-commit/action@v3.0.0
Original file line number Diff line number Diff line change 3030 runs-on : ubuntu-latest
3131 steps :
3232 - uses : actions/checkout@v4
33+ with :
34+ sparse-checkout : |
35+ docs
36+ src
37+ python
3338
3439 - name : Setup Pages
3540 uses : actions/configure-pages@v5
You can’t perform that action at this time.
0 commit comments