Commit d6e4b33
committed
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 a cascade of build failures and linting errors, 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.
4. macOS tests were failing to bind to port 8080. This was fixed by enabling dual-stack support by default on macOS in the `create_webserver` class.
5. A large number of `cpplint` errors were revealed. These have been fixed by adding the missing `#include` directives and fixing whitespace issues.1 parent 9d65d34 commit d6e4b33
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments