Skip to content

Commit 2d1e1c2

Browse files
authored
Some improvements for GitHub Actions (#12)
* add --strict to docs build * remove duplicated * higher python versions
1 parent 21715bd commit 2d1e1c2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
21-
python-version: ["3.8", "3.9", "3.10"]
21+
python-version: ["3.8", "3.11", "3.13"]
2222
runs-on: ${{ matrix.os }}
2323
steps:
2424
- uses: actions/checkout@v4
@@ -45,11 +45,11 @@ jobs:
4545
- name: Set up Python
4646
uses: actions/setup-python@v4
4747
with:
48-
python-version: "3.8"
48+
python-version: "3.11"
4949
- name: Install docs dependencies
5050
run: pip install .[docs]
5151
- name: Build documentation
52-
run: mkdocs build --verbose
52+
run: mkdocs build --strict --verbose
5353

5454
static-analysis:
5555
runs-on: ubuntu-latest
@@ -59,7 +59,7 @@ jobs:
5959
- name: Set up Python
6060
uses: actions/setup-python@v4
6161
with:
62-
python-version: "3.8"
62+
python-version: "3.11"
6363
- name: Install tools
6464
run: pip install ruff vulture bandit[toml] detect-secrets
6565
- name: Run Ruff
@@ -90,7 +90,7 @@ jobs:
9090
- name: Set up Python
9191
uses: actions/setup-python@v4
9292
with:
93-
python-version: "3.8"
93+
python-version: "3.11"
9494
- name: Install build tools
9595
run: pip install build
9696
- name: Add date to version

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ theme:
4848
- navigation.expand
4949
- navigation.indexes
5050
- navigation.sections
51-
- navigation.indexes
5251

5352
plugins:
5453
- mkdocstrings

0 commit comments

Comments
 (0)