diff --git a/README.md b/README.md index cb1700457..7447c44b5 100644 --- a/README.md +++ b/README.md @@ -330,6 +330,19 @@ steps: - run: poetry run pytest ``` +**If you only need poetry install, consider using pip:** +```yaml +steps: +- uses: actions/checkout@v3 +- uses: actions/setup-python@v4 + with: + python-version: '3.9' + cache: 'pip' + cache-dependency-path: 'poetry.lock' +- run: pip install . +- run: pytest +``` + **Using wildcard patterns to cache dependencies** ```yaml steps: