Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Set up pre-commit cache
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ matrix.os }}|${{ matrix.python }}|${{ hashFiles('.pre-commit-config.yaml') }}

# Using the Makefile assumes an activated virtual environment, which doesn't exist
# when running in an Action environment (https://github.com/actions/setup-python/issues/359).
# Instead we create an empty .venv folder so that the Makefile continues to function
Expand Down