Commit bf614c6e

bf614c6e046dMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 1 file · ~1 modified

Description

ci: bump actions/cache v4 -> v5 (Node.js 24)

actions/cache@v4 runs on Node.js 20, which GitHub Actions is deprecating; v5 is the Node.js 24 successor. The cache contract is unchanged so the existing test-results cache keys keep hitting across the bump.

Co-Authored-By: Claude Opus 4.7 [email protected]

Details

Commit
bf614c6e046d
Parent
bf572be576e3

.github/workflows/ci.ymlmodifiedView file

@@ -53,7 +53,7 @@
5353 # input file misses the cache and reruns every test. See
5454 # the post-build `touch` step for why mtimes need a refresh.
5555 - name: Restore test-results cache
56- uses: actions/cache@v4
56+ uses: actions/cache@v5
5757 with:
5858 path: build/test-results
5959 key: tests-${{ matrix.os }}-${{ matrix.cc }}-${{ hashFiles('test/**', 'spinel_parse.c', 'spinel_analyze.rb', 'spinel_codegen.rb', 'compiler_helpers.rb', 'node_table_loader.rb', 'lib/**', 'Makefile') }}
@@ -148,7 +148,7 @@
148148 # biggest beneficiary because its per-test fork-exec cost
149149 # dwarfs the cache-restore step.
150150 - name: Restore test-results cache
151- uses: actions/cache@v4
151+ uses: actions/cache@v5
152152 with:
153153 path: build/test-results
154154 key: tests-windows-mingw-gcc-${{ hashFiles('test/**', 'spinel_parse.c', 'spinel_analyze.rb', 'spinel_codegen.rb', 'compiler_helpers.rb', 'node_table_loader.rb', 'lib/**', 'Makefile') }}