Skip to content

Commit

Permalink
add space in pyproject to trigger new cache
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Oct 15, 2024
1 parent b87e56d commit 79dd343
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
# Restore cached virtualenv, if available
# * The pyproject.toml hash is part of the cache key, invalidating
# the cache if the file changes
# - name: Restore cached virtualenv
# id: restore-cache
# uses: actions/cache/restore@v3
# with:
# path: ./venv
# key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}
- name: Restore cached virtualenv
id: restore-cache
uses: actions/cache/restore@v3
with:
path: ./venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}

# Should mirror the build-venv stage in the Containerfile
- name: Build venv
Expand Down Expand Up @@ -85,12 +85,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# Restore cached virtualenv
# - name: Restore cached virtualenv
# uses: actions/cache/restore@v3
# with:
# path: ./venv
# key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}
# Restore cached virtualenv
- name: Restore cached virtualenv
uses: actions/cache/restore@v3
with:
path: ./venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}

- name: Install package
run: ./venv/bin/python -m pip install -q .
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# --- PROJECT CONFIGURATION --- #


[build-system]
requires = ["setuptools>=67", "wheel", "setuptools-git-versioning>=1.13.3"]
build-backend = "setuptools.build_meta"
Expand Down

0 comments on commit 79dd343

Please sign in to comment.