Commit 80252ab
committed
ci: simplify venv cache key and consolidate poetry env
Three trims:
1. Drop ${{ env.ImageOS }}-${{ env.ImageVersion }}- from both
cache keys. env context only resolves workflow-declared env
vars, not runner process env vars like ImageOS / ImageVersion,
so these interpolations were silently empty (visible in
dbus-fast's post-merge logs of the same pattern).
2. Merge the two hashFiles() calls into one covering poetry.lock,
pyproject.toml, build_ext.py, src/zeroconf/**/*.py, and
src/zeroconf/**/*.pxd. Concatenated either way; one call is
easier to read.
3. Promote POETRY_VIRTUALENVS_IN_PROJECT to workflow-level env:
instead of duplicating on the test and benchmark jobs.1 parent 101110d commit 80252ab
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | | - | |
79 | | - | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
122 | | - | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
| 141 | + | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
0 commit comments