|
46 | 46 | UV_PYTHON_PREFERENCE: only-managed |
47 | 47 | steps: |
48 | 48 | - name: Check out repository |
49 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 49 | + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
50 | 50 |
|
51 | 51 | - name: Set uv Python install dir |
52 | 52 | run: echo "UV_PYTHON_INSTALL_DIR=${RUNNER_TEMP}/uv-python-dir" >> "$GITHUB_ENV" |
|
64 | 64 | # restore-keys restores the latest cache for this prefix; uv sync fixes deps if needed. |
65 | 65 | # See: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache |
66 | 66 | - name: Restore .venv cache (pre-commit) |
67 | | - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 |
| 67 | + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 |
68 | 68 | with: |
69 | 69 | path: .venv |
70 | 70 | key: venv-precommit-${{ env.VENV_PRECOMMIT_CACHE_VERSION }}-${{ runner.os }}-3.10-${{ github.run_id }} |
|
75 | 75 | run: uv sync --all-extras --dev |
76 | 76 |
|
77 | 77 | - name: Save .venv cache (pre-commit) |
78 | | - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 |
| 78 | + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 |
79 | 79 | with: |
80 | 80 | path: .venv |
81 | 81 | key: venv-precommit-${{ env.VENV_PRECOMMIT_CACHE_VERSION }}-${{ runner.os }}-3.10-${{ github.run_id }} |
@@ -106,7 +106,7 @@ jobs: |
106 | 106 | PYTHON: ${{ matrix.python-version }} |
107 | 107 | steps: |
108 | 108 | - name: Check out repository |
109 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 109 | + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
110 | 110 | with: |
111 | 111 | fetch-depth: 0 |
112 | 112 |
|
@@ -147,7 +147,7 @@ jobs: |
147 | 147 | # restore-keys: if exact key misses, use latest cache (hashFiles is consistent across Windows/Ubuntu for this repo). |
148 | 148 | - name: Restore Docker Compose images |
149 | 149 | id: restore_compose_cache |
150 | | - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 |
| 150 | + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 |
151 | 151 | with: |
152 | 152 | path: ${{ env.COMPOSE_CACHE_PATH }} |
153 | 153 | key: compose-images-${{ env.COMPOSE_CACHE_VERSION }}-${{ hashFiles('docker-compose.yml', '.env.example') }} |
@@ -308,7 +308,7 @@ jobs: |
308 | 308 |
|
309 | 309 | - name: Cache Docker Compose images |
310 | 310 | if: runner.os == 'Linux' && matrix.python-version == '3.14' && steps.restore_compose_cache.outputs.cache-hit != 'true' && steps.docker_cache_size.outcome == 'success' && steps.docker_cache_size.outputs.valid == 'true' && always() |
311 | | - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 |
| 311 | + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 |
312 | 312 | continue-on-error: true |
313 | 313 | with: |
314 | 314 | path: ${{ env.COMPOSE_CACHE_PATH }} |
|
0 commit comments