Skip to content

Commit cc3ea3a

Browse files
Use locked dependencies
1 parent a788e9e commit cc3ea3a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/docs.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches:
99
- main
1010

11+
env:
12+
FORCE_COLOR: 1
13+
UV_NO_SYNC: 1
14+
1115
permissions:
1216
contents: write
1317

@@ -18,16 +22,17 @@ jobs:
1822
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1923

2024
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
21-
with:
22-
python-version: '3.x'
25+
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
2328

2429
- name: Install dependencies
2530
run: |
26-
pip install mkdocs-material mkdocstrings[python]
31+
uv sync --group docs
2732
2833
- name: Build documentation
29-
run: mkdocs build
34+
run: uv run mkdocs build
3035

3136
- name: Deploy to GitHub Pages
3237
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
33-
run: mkdocs gh-deploy --force
38+
run: uv run mkdocs gh-deploy --force

0 commit comments

Comments
 (0)