Skip to content

Commit 172cc83

Browse files
committed
update workflow ci
1 parent 64ecdc0 commit 172cc83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
path: |
2121
.venv
22-
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}
22+
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}-${{ github.run_id }}
2323
lookup-only: true
2424
- name: Set up Python ${{ matrix.python-version }}
2525
uses: actions/setup-python@v5
@@ -81,13 +81,15 @@ jobs:
8181
with:
8282
path: |
8383
.venv
84-
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}
84+
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}-${{ github.run_id }}
8585
# NOTE(robinson) - This is a fallback in case the lint job does not find the cache.
8686
# We can take this out when we implement the fix in CORE-99
8787
- name: Setup virtual environment (no cache hit)
8888
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
8989
run: |
9090
python${{ matrix.python-version }} -m venv .venv
91+
source .venv/bin/activate
92+
make install-ci
9193
- name: Install Poppler
9294
run: |
9395
sudo apt-get update

0 commit comments

Comments
 (0)