Skip to content

Instantly share code, notes, and snippets.

@epwalsh
Last active January 5, 2021 15:06
Show Gist options
  • Save epwalsh/8e7735916c13888fc562e944fc4347df to your computer and use it in GitHub Desktop.
Save epwalsh/8e7735916c13888fc562e944fc4347df to your computer and use it in GitHub Desktop.
Python GitHub Actions with venv cache
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('dev-requirements.txt') }}
@timkofu
Copy link

timkofu commented Jan 5, 2021

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment