Skip to content

Commit fecfcf0

Browse files
committed
fix: Pin chainguard latest dev image using digest
1 parent 7245b30 commit fecfcf0

File tree

4 files changed

+190
-185
lines changed

4 files changed

+190
-185
lines changed

.github/actions/prepare/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ runs:
1717
uses: dtolnay/[email protected] # v1.86.0
1818
with:
1919
components: ${{ (inputs.components != '') && format('{0}, rustfmt, clippy', inputs.components) || 'rustfmt, clippy' }}
20+
- name: Prepare cache identifiers
21+
id: cache-info
22+
shell: bash
23+
run: |
24+
echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
25+
echo "LOCK_HASH=$(sha256sum Cargo.lock | cut -d' ' -f1)" >> $GITHUB_ENV
2026
- name: Restore cargo dependencies from cache
2127
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
2228
id: cache
29+
with:
30+
shared-key: ${{ env.DATE }}-${{ env.LOCK_HASH }}

0 commit comments

Comments
 (0)