Use idiomatic syntax in GitLab integration docs

This commit is contained in:
Sigurd Spieckermann
2024-10-08 12:19:02 +02:00
committed by Zanie Blue
parent eb5af72a6d
commit b5c52b205a
+5 -5
View File
@@ -18,8 +18,8 @@ UV:
stage: analysis stage: analysis
image: image:
name: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER name: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
script: > script:
cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR
# your `uv` commands # your `uv` commands
``` ```
@@ -37,9 +37,9 @@ UV Install:
- uv.lock - uv.lock
paths: paths:
- $UV_CACHE_DIR - $UV_CACHE_DIR
script: > script:
# Your uv commands # Your `uv` commands
uv cache prune --ci - uv cache prune --ci
``` ```
See the [GitLab caching documentation](https://docs.gitlab.com/ee/ci/caching/) for more details on See the [GitLab caching documentation](https://docs.gitlab.com/ee/ci/caching/) for more details on