Update workflows for new GitHub Action Runner Images (#382)

* use ubuntu-latest + update actions/cache

* performance-avoid-endl

https://clang.llvm.org/extra/clang-tidy/checks/performance/avoid-endl.html

* misc-const-correctness

https://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html

* misc-const-correctness

https://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html

* formatting

* clang format and tidy and already installed

https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#language-and-runtime

* explict clang-format-14

* disable include cleaner

* format

* format

* install lcov to get patching geninfo for gcc 13

* revert "install lcov to get patching geninfo for gcc 13"
This commit is contained in:
Chris Mc
2025-05-13 17:35:46 -04:00
committed by GitHub
parent 5a4c6ebc17
commit 0ab9469c7d
21 changed files with 50 additions and 49 deletions

View File

@@ -35,11 +35,11 @@ int main() {
const auto decoded = jwt::decode<traits>(token);
for (auto& e : decoded.get_header_json())
std::cout << e.key() << " = " << e.value() << std::endl;
std::cout << e.key() << " = " << e.value() << '\n';
const auto array =
traits::as_array(decoded.get_payload_claim("object").to_json().as_object()["api"].as_object()["array"]);
std::cout << "payload /object/api/array = " << array << std::endl;
std::cout << "payload /object/api/array = " << array << '\n';
jwt::verify<traits>()
.allow_algorithm(jwt::algorithm::none{})