Skip to content

Commit 560ac89

Browse files
Fix: Update deprecated actions and resolve subsequent build failures
- Updated actions/cache from v2 to v4 to resolve the build failure caused by a deprecated version. - Updated actions/checkout from v2 to v4 as a proactive measure. These changes revealed further build failures, which are also fixed in this PR: 1. The `clang-13` package is not available on `ubuntu-latest` runners. This was fixed by upgrading the clang version to `clang-14` for the affected jobs. 2. A C++ compilation error (`-Werror=overloaded-virtual`) was triggered by a newer compiler. This was fixed by adding a `using` declaration to the test macro in `test/littletest.hpp`. 3. The `valgrind-dbg` package is not available on `ubuntu-latest`. This was fixed by removing it from the installation step.
1 parent 1266fa6 commit 560ac89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/verify-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ jobs:
294294
if: ${{ matrix.compiler-family == 'gcc' && matrix.os-type == 'ubuntu' }}
295295

296296
- name: Install valgrind if needed
297-
run: sudo apt-get install valgrind valgrind-dbg
297+
run: sudo apt-get install valgrind
298298
if: ${{ matrix.build-type == 'valgrind' && matrix.os-type == 'ubuntu' }}
299299

300300
- name: Install cpplint if needed

0 commit comments

Comments
 (0)