Skip to content

Commit 4d5523f

Browse files
committed
ci: minor fixes
1 parent ee394db commit 4d5523f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build-linux.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ jobs:
107107
uses: astral-sh/setup-uv@v6
108108
with:
109109
enable-cache: true
110+
- name: extract tag name
111+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
110112
- name: build docs
111-
run: uv run mike deploy
113+
run: uv run mike deploy --update-aliases "v${RELEASE_VERSION}" latest
112114

113115
publish_docs:
114116
name: build docs

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ init: clean ## initialize a development environment (to be run in virtualenv)
4747
git add "*" ".*"
4848

4949
mypy: ## run mypy
50-
mypy src/kiara
50+
uv run mypy src/kiara
5151

5252
test: ## run tests quickly with the default Python
53-
py.test
53+
uv run py.test
5454

5555
coverage: ## check code coverage quickly with the default Python
5656
coverage run -m pytest tests
@@ -62,7 +62,7 @@ render-api:
6262
kiara render --source-type base_api --target-type kiara_api item kiara_api template_file=src/kiara/interfaces/python_api/kiara_api.py target_file=src/kiara/interfaces/python_api/kiara_api.py
6363

6464
pre-commit: ## run pre-commit on all files
65-
pre-commit run --all-files
65+
uv run pre-commit run --all-files
6666

6767
doc: ## build documentation
68-
mkdocs build
68+
uv run mkdocs build

0 commit comments

Comments
 (0)