6767
6868 steps :
6969 - name : Checkout
70- uses : actions/checkout@v4
70+ uses : actions/checkout@v6
7171 with :
7272 fetch-depth : 0
7373
@@ -131,7 +131,7 @@ jobs:
131131 set -euxo pipefail
132132
133133 brew update
134- brew install cmake ninja hdf5
134+ brew install --quiet cmake ninja hdf5
135135
136136 HDF5_PREFIX="$(brew --prefix hdf5)"
137137
@@ -195,7 +195,7 @@ jobs:
195195 - name : Restore HDF5 1.10.10 cache
196196 if : runner.os == 'Windows'
197197 id : cache-hdf5
198- uses : actions/cache/restore@v4
198+ uses : actions/cache/restore@v5
199199 with :
200200 path : ${{ runner.temp }}\hdf5-${{ env.HDF5_VERSION }}-install
201201 key : hdf5-${{ runner.os }}-${{ matrix.compiler }}-${{ env.HDF5_VERSION }}-${{ env.HDF5_CACHE_VERSION }}
@@ -241,7 +241,7 @@ jobs:
241241
242242 - name : Save HDF5 1.10.10 cache
243243 if : runner.os == 'Windows' && steps.cache-hdf5.outputs.cache-hit != 'true'
244- uses : actions/cache/save@v4
244+ uses : actions/cache/save@v5
245245 with :
246246 path : ${{ runner.temp }}\hdf5-${{ env.HDF5_VERSION }}-install
247247 key : ${{ steps.cache-hdf5.outputs.cache-primary-key }}
@@ -282,6 +282,7 @@ jobs:
282282 -DCMAKE_CXX_STANDARD=23
283283 -DCMAKE_BUILD_TYPE=Release
284284 -DH5CPP_BUILD_TESTS=ON
285+ -DH5CPP_BUILD_EXAMPLES=ON
285286 )
286287
287288 if [[ -n "${HDF5_ROOT:-}" ]]; then
@@ -339,7 +340,7 @@ jobs:
339340
340341 - name : Upload Status Artifact
341342 if : always()
342- uses : actions/upload-artifact@v4
343+ uses : actions/upload-artifact@v7
343344 with :
344345 name : status-${{ matrix.os }}-${{ matrix.compiler }}
345346 path : badge-status/status-${{ matrix.os }}-${{ matrix.compiler }}.json
@@ -359,7 +360,7 @@ jobs:
359360 sudo apt-get install -y jq curl
360361
361362 - name : Download all status artifacts
362- uses : actions/download-artifact@v4
363+ uses : actions/download-artifact@v8
363364 with :
364365 path : badge-status
365366 pattern : status-*
@@ -430,7 +431,7 @@ jobs:
430431
431432 - name : Upload badges artifact
432433 if : always()
433- uses : actions/upload-artifact@v4
434+ uses : actions/upload-artifact@v7
434435 with :
435436 name : ${{ github.ref_name == 'staging' && 'badges-staging' || 'badges' }}
436437 path : ${{ github.ref_name == 'staging' && 'badges-staging' || 'badges' }}
@@ -456,7 +457,7 @@ jobs:
456457
457458 steps :
458459 - name : Checkout
459- uses : actions/checkout@v4
460+ uses : actions/checkout@v6
460461 with :
461462 fetch-depth : 0
462463
@@ -488,7 +489,8 @@ jobs:
488489 -DCMAKE_CXX_COMPILER=g++-14 \
489490 -DCMAKE_C_FLAGS="--coverage -O0 -g" \
490491 -DCMAKE_CXX_FLAGS="--coverage -O0 -g" \
491- -DH5CPP_BUILD_TESTS=ON
492+ -DH5CPP_BUILD_TESTS=ON \
493+ -DH5CPP_BUILD_EXAMPLES=ON
492494
493495 - name : Build
494496 shell : bash
@@ -530,7 +532,7 @@ jobs:
530532 lcov --gcov-tool /usr/bin/gcov-14 --list coverage.info
531533
532534 - name : Upload coverage reports to Codecov
533- uses : codecov/codecov-action@v5
535+ uses : codecov/codecov-action@v6
534536 with :
535537 files : ./coverage.info
536538 disable_search : true
0 commit comments