Skip to content

Commit 448593e

Browse files
committed
Fix subheadings in caching guide
1 parent b64ffca commit 448593e

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

docs/advanced-usage.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ steps:
292292

293293
## Caching packages
294294

295-
**Caching pipenv dependencies:**
295+
### Caching pipenv dependencies
296+
296297
```yaml
297298
steps:
298299
- uses: actions/checkout@v4
@@ -305,7 +306,8 @@ steps:
305306
- run: pipenv install
306307
```
307308

308-
**Caching poetry dependencies:**
309+
### Caching poetry dependencies
310+
309311
```yaml
310312
steps:
311313
- uses: actions/checkout@v4
@@ -319,7 +321,8 @@ steps:
319321
- run: poetry run pytest
320322
```
321323

322-
**Using a list of file paths to cache dependencies**
324+
### Using a list of file paths to cache dependencies
325+
323326
```yaml
324327
steps:
325328
- uses: actions/checkout@v4
@@ -334,7 +337,9 @@ steps:
334337
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
335338
- run: pipenv install
336339
```
337-
**Using wildcard patterns to cache dependencies**
340+
341+
### Using wildcard patterns to cache dependencies
342+
338343
```yaml
339344
steps:
340345
- uses: actions/checkout@v4
@@ -346,7 +351,8 @@ steps:
346351
- run: pip install -r subdirectory/requirements-dev.txt
347352
```
348353

349-
**Using a list of wildcard patterns to cache dependencies**
354+
### Using a list of wildcard patterns to cache dependencies
355+
350356
```yaml
351357
steps:
352358
- uses: actions/checkout@v4
@@ -360,7 +366,7 @@ steps:
360366
- run: pip install -e . -r subdirectory/requirements-dev.txt
361367
```
362368

363-
**Caching projects that use setup.py:**
369+
### Caching projects that use setup.py (or pyproject.toml)
364370

365371
```yaml
366372
steps:

0 commit comments

Comments
 (0)