GitHub Actions: setup-python now supports dependency caching

You can now run workflows for Python projects faster on GitHub Actions by enabling dependency caching on the setup-python action. setup-python supports caching for both pip and pipenv projects.

The following example enables caching for a Python project with pip:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
- run: pip install -r requirements.txt
- run: pip test

For additional examples, visit the setup-python repository.

A light high contrast theme, with greater contrast between foreground and background elements, is now available to all github.com users in a public beta. Navigate to the “Appearance” page in your profile settings to choose the light high contrast theme.

Share feedback

screen shot of appearance settings with new light high contrast theme

See more