From 3cfd90a8035ec180d7c74a21ce1d1d4e70e6245d Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Fri, 10 Nov 2023 10:18:59 +0200 Subject: [PATCH] Fix subheadings in caching guide --- docs/advanced-usage.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 37c3218..a3ae55c 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -293,7 +293,8 @@ steps: ## Caching packages -**Caching pipenv dependencies:** +### Caching pipenv dependencies + ```yaml steps: - uses: actions/checkout@v4 @@ -306,7 +307,8 @@ steps: - run: pipenv install ``` -**Caching poetry dependencies:** +### Caching poetry dependencies + ```yaml steps: - uses: actions/checkout@v4 @@ -320,7 +322,8 @@ steps: - run: poetry run pytest ``` -**Using a list of file paths to cache dependencies** +### Using a list of file paths to cache dependencies + ```yaml steps: - uses: actions/checkout@v4 @@ -335,7 +338,9 @@ steps: run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python - run: pipenv install ``` -**Using wildcard patterns to cache dependencies** + +### Using wildcard patterns to cache dependencies + ```yaml steps: - uses: actions/checkout@v4 @@ -347,7 +352,8 @@ steps: - run: pip install -r subdirectory/requirements-dev.txt ``` -**Using a list of wildcard patterns to cache dependencies** +### Using a list of wildcard patterns to cache dependencies + ```yaml steps: - uses: actions/checkout@v4 @@ -361,7 +367,7 @@ steps: - run: pip install -e . -r subdirectory/requirements-dev.txt ``` -**Caching projects that use setup.py:** +### Caching projects that use setup.py (or pyproject.toml) ```yaml steps: