Skip to content

Commit 63a5f55

Browse files
ci: bump actions/cache to the node24 v6.1.0 release
Governs actions/cache in the pin manifest and anchor and moves it off the deprecated node20 runtime. Signed-off-by: Joshua Temple <waitingtables@gmail.com>
1 parent f5ae3c1 commit 63a5f55

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/actions/setup-cli/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ runs:
6565
- name: Restore CLI from cache
6666
if: steps.check.outputs.installed != 'true'
6767
id: cache
68-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
68+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6969
with:
7070
path: /usr/local/bin/cascade
7171
key: cascade-${{ steps.binary.outputs.name }}-${{ steps.resolve.outputs.tag }}

.github/workflows/action-pins.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ jobs:
5858
with:
5959
app-id: '0'
6060
private-key: ''
61+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
62+
with:
63+
path: .
64+
key: anchor
6165
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
6266
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
6367
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0

internal/generate/action_pins.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ actions:
1515
actions/download-artifact: { tag: v8, sha: 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c, version: v8.0.1, emit: true }
1616
actions/upload-artifact: { tag: v7, sha: 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a, version: v7.0.1, emit: true }
1717
actions/create-github-app-token: { tag: v3, sha: bcd2ba49218906704ab6c1aa796996da409d3eb1, version: v3.2.0, emit: true }
18+
actions/cache: { tag: v6, sha: 55cc8345863c7cc4c66a329aec7e433d2d1c52a9, version: v6.1.0, emit: false }
1819
actions/setup-go: { tag: v6, sha: 924ae3a1cded613372ab5595356fb5720e22ba16, version: v6.5.0, emit: false }
1920
actions/setup-node: { tag: v6, sha: 48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e, version: v6.4.0, emit: false }
2021
actions/upload-pages-artifact: { tag: v5, sha: fc324d3547104276b827a68afc52ff2a11cc49c9, version: v5.0.0, emit: false }

internal/generate/action_pins_manifest_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func TestActionPinsManifest_EmitFlags(t *testing.T) {
5050
actionDownloadArtifact: true,
5151
actionUploadArtifact: true,
5252
actionCreateAppToken: true,
53+
"actions/cache": false,
5354
"actions/setup-go": false,
5455
"actions/setup-node": false,
5556
"actions/upload-pages-artifact": false,

0 commit comments

Comments
 (0)