Skip to content

Commit 72080cf

Browse files
committed
fix: uv added to github action
1 parent 5cf1462 commit 72080cf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v4
1315
- name: Configure Git Credentials
1416
run: |
1517
git config user.name github-actions[bot]
1618
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17-
- uses: actions/setup-python@v5
18-
with:
19-
python-version: 3.x
20-
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
2119
- uses: actions/cache@v4
2220
with:
2321
key: mkdocs-material-${{ env.cache_id }}
2422
path: .cache
2523
restore-keys: |
2624
mkdocs-material-
27-
- run: pip install mkdocs-material
28-
- run: mkdocs gh-deploy --force
25+
- name: Set up Python
26+
run: uv python install
27+
- name: Install the project
28+
run: uv sync --all-extras --dev
29+
- run: uv run mkdocs gh-deploy --force

0 commit comments

Comments
 (0)