Skip to content

Commit a122c56

Browse files
authored
GH workflows - docs action - bump python version and pin dependency versions (#3457)
1 parent d546d79 commit a122c56

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v4
18+
- uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.9
20+
python-version: '3.13'
21+
cache: 'pip'
22+
cache-dependency-path: requirements.txt
2123
- name: Install dependencies
2224
run: |
2325
python -m pip install --upgrade pip
2426
pip install mkdocs mkdocs-material pymdown-extensions mkdocs-macros-plugin
27+
pip install -r requirements.txt
2528
- name: Build docs
2629
run: |
2730
mkdocs build -d docsbuild
@@ -33,4 +36,4 @@ jobs:
3336
path: 'docsbuild'
3437
- name: Deploy to GitHub Pages
3538
id: deployment
36-
uses: actions/deploy-pages@v4
39+
uses: actions/deploy-pages@v4

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdocs~=1.6
2+
mkdocs-material~=9.5
3+
pymdown-extensions~=10.8
4+
mkdocs-macros-plugin~=1.0

0 commit comments

Comments
 (0)