From 8cdead33876f54f2eac1fde507fe1dccef8eafeb Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 5 Oct 2021 19:10:08 +0300 Subject: [PATCH] add example --- docs/adrs/0000-caching-dependencies.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/adrs/0000-caching-dependencies.md b/docs/adrs/0000-caching-dependencies.md index 61f66a72..0c3811a4 100644 --- a/docs/adrs/0000-caching-dependencies.md +++ b/docs/adrs/0000-caching-dependencies.md @@ -77,6 +77,17 @@ steps: **/requirements.txt ``` + +``` +steps: +- uses: actions/checkout@v2 +- uses: actions/setup-python@v2 + with: + python-version: 3.9 + cache: pip + cache-dependency-path: **/requirements-dev.txt +``` + ## Release process As soon as the functionality is implemented, we will release a minor update of the action. No need to bump the major version since there are no breaking changes for existing users. After that, we will update [starter-workflows](https://github.com/actions/starter-workflows/blob/main/ci/python-app.yml) and [GitHub Action documentation](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#caching-dependencies).