6060 with :
6161 path : |
6262 .venv
63- key : ${{ runner.os }}-pip-${{ hashFiles('**/ pyproject.toml') }}
63+ key : ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
6464 restore-keys : |
6565 ${{ runner.os }}-pip-
6666
@@ -171,6 +171,7 @@ jobs:
171171 run : cargo install cross
172172
173173 - name : Set up cargo cache
174+ if : runner.os != 'macOS'
174175 uses : actions/cache@v4
175176 with :
176177 path : |
@@ -179,7 +180,7 @@ jobs:
179180 ~/.cargo/registry/cache/
180181 ~/.cargo/git/db/
181182 target/
182- key : ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('**/ Cargo.lock') }}
183+ key : ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
183184 restore-keys : ${{ runner.os }}-${{ matrix.target }}-cargo-
184185
185186 - name : Set up Python
@@ -188,11 +189,12 @@ jobs:
188189 python-version : " 3.14t"
189190
190191 - name : Cache python dependencies
192+ if : runner.os != 'macOS'
191193 uses : actions/cache@v4
192194 with :
193195 path : |
194196 .venv
195- key : ${{ runner.os }}-pip-${{ hashFiles('**/ pyproject.toml') }}
197+ key : ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
196198 restore-keys : |
197199 ${{ runner.os }}-pip-
198200
@@ -317,11 +319,12 @@ jobs:
317319 merge-multiple : true
318320
319321 - name : Cache python dependencies
322+ if : runner.os != 'macOS'
320323 uses : actions/cache@v4
321324 with :
322325 path : |
323326 .venv
324- key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/ pyproject.toml') }}
327+ key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
325328 restore-keys : |
326329 ${{ runner.os }}-pip-${{ matrix.python-version }}-
327330
@@ -432,7 +435,7 @@ jobs:
432435 with :
433436 path : |
434437 .venv
435- key : ${{ runner.os }}-pip-${{ hashFiles('**/ pyproject.toml') }}
438+ key : ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
436439 restore-keys : |
437440 ${{ runner.os }}-pip-
438441
0 commit comments