Code scanning - action / CodeQL-Build (push) Canceled after 0s
flawfinder / Flawfinder (push) Canceled after 0s
macOS / macos-14 (15.0.1) (push) Canceled after 0s
macOS / macos-14 (15.1) (push) Canceled after 0s
macOS / macos-14 (15.2) (push) Canceled after 0s
macOS / macos-14 (15.3) (push) Canceled after 0s
macOS / macos-14 (15.4) (push) Canceled after 0s
macOS / macos-15 (16.0) (push) Canceled after 0s
macOS / macos-15 (16.1) (push) Canceled after 0s
macOS / macos-15 (16.2) (push) Canceled after 0s
macOS / macos-15 (16.3) (push) Canceled after 0s
macOS / macos-15 (16.4) (push) Canceled after 0s
macOS / macos-15 (26.0.1) (push) Canceled after 0s
macOS / xcode_standards (11) (push) Canceled after 0s
macOS / xcode_standards (14) (push) Canceled after 0s
macOS / xcode_standards (17) (push) Canceled after 0s
macOS / xcode_standards (20) (push) Canceled after 0s
macOS / xcode_standards (23) (push) Canceled after 0s
macOS / xcode_standards (26) (push) Canceled after 0s
Publish documentation / publish_documentation (push) Canceled after 0s
Scorecard supply-chain security / Scorecard analysis (push) Canceled after 0s
Semgrep / Scan (push) Canceled after 0s
Ubuntu / ci_test_gcc (push) Canceled after 0s
Ubuntu / ci_infer (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_cppcheck) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_cpplint) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_non_git_tests) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_offline_testdata) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_reproducible_tests) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_reuse_compliance) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_test_amalgamation) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_test_single_header) (push) Canceled after 0s
Ubuntu / ci_static_analysis_ubuntu (ci_test_valgrind) (push) Canceled after 0s
Ubuntu / ci_static_analysis_clang (ci_clang_analyze) (push) Canceled after 0s
Ubuntu / ci_static_analysis_clang (ci_clang_tidy) (push) Canceled after 0s
Ubuntu / ci_static_analysis_clang (ci_single_binaries) (push) Canceled after 0s
Ubuntu / ci_static_analysis_clang (ci_test_clang) (push) Canceled after 0s
Ubuntu / ci_static_analysis_clang (ci_test_clang_sanitizer) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_cmake_flags) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_test_diagnostic_positions) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_test_diagnostics) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_test_legacycomparison) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_test_noexceptions) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_test_noglobaludls) (push) Canceled after 0s
Ubuntu / ci_cmake_options (ci_test_noimplicitconversions) (push) Canceled after 0s
Ubuntu / ci_test_coverage (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc_old (4.8) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc_old (4.9) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc_old (5) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc_old (6) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (10) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (11) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (12) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (13) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (14) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (15) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (7) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (8) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (9) (push) Canceled after 0s
Ubuntu / ci_test_compilers_gcc (latest) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (10) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (11) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (12) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (13) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (14) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (15-bullseye) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (16) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (17) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (18) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (19) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (20) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (21) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (22) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (3.4) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (3.5) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (3.6) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (3.7) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (3.8) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (3.9) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (4) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (5) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (6) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (7) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (8) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (9) (push) Canceled after 0s
Ubuntu / ci_test_compilers_clang (latest) (push) Canceled after 0s
Ubuntu / ci_test_standards_gcc (11) (push) Canceled after 0s
Ubuntu / ci_test_standards_gcc (14) (push) Canceled after 0s
Ubuntu / ci_test_standards_gcc (17) (push) Canceled after 0s
Ubuntu / ci_test_standards_gcc (20) (push) Canceled after 0s
Ubuntu / ci_test_standards_gcc (23) (push) Canceled after 0s
Ubuntu / ci_test_standards_gcc (26) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (11, libcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (11, libstdcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (14, libcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (14, libstdcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (17, libcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (17, libstdcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (20, libcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (20, libstdcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (23, libcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (23, libstdcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (26, libcxx) (push) Canceled after 0s
Ubuntu / ci_test_standards_clang (26, libstdcxx) (push) Canceled after 0s
Ubuntu / ci_cuda_example (11.8.0) (push) Canceled after 0s
Ubuntu / ci_cuda_example (12.1.1) (push) Canceled after 0s
Ubuntu / ci_cuda_example (12.6.3) (push) Canceled after 0s
Ubuntu / ci_module_cpp20 (gcc:latest) (push) Canceled after 0s
Ubuntu / ci_module_cpp20 (silkeh/clang:latest) (push) Canceled after 0s
Ubuntu / ci_icpc (push) Canceled after 0s
Ubuntu / ci_icpx (push) Canceled after 0s
Ubuntu / ci_nvhpc (push) Canceled after 0s
Ubuntu / ci_emscripten (push) Canceled after 0s
Ubuntu / ci_test_documentation (ci_test_build_documentation) (push) Canceled after 0s
Ubuntu / ci_test_documentation (ci_test_examples) (push) Canceled after 0s
Windows / mingw (x64) (push) Canceled after 0s
Windows / mingw (x86) (push) Canceled after 0s
Windows / msvc (Win32, Debug, default) (push) Canceled after 0s
Windows / msvc (Win32, Debug, latest) (push) Canceled after 0s
Windows / msvc (Win32, Release, default) (push) Canceled after 0s
Windows / msvc (Win32, Release, latest) (push) Canceled after 0s
Windows / msvc (x64, Debug, default) (push) Canceled after 0s
Windows / msvc (x64, Debug, latest) (push) Canceled after 0s
Windows / msvc (x64, Release, default) (push) Canceled after 0s
Windows / msvc (x64, Release, latest) (push) Canceled after 0s
Windows / msvc-vs2026 (Win32, Debug, default) (push) Canceled after 0s
Windows / msvc-vs2026 (Win32, Debug, latest) (push) Canceled after 0s
Windows / msvc-vs2026 (Win32, Release, default) (push) Canceled after 0s
Windows / msvc-vs2026 (Win32, Release, latest) (push) Canceled after 0s
Windows / msvc-vs2026 (x64, Debug, default) (push) Canceled after 0s
Windows / msvc-vs2026 (x64, Debug, latest) (push) Canceled after 0s
Windows / msvc-vs2026 (x64, Release, default) (push) Canceled after 0s
Windows / msvc-vs2026 (x64, Release, latest) (push) Canceled after 0s
Windows / msvc-arm64 (Debug) (push) Canceled after 0s
Windows / msvc-arm64 (Release) (push) Canceled after 0s
Windows / clang (11.0.1) (push) Canceled after 0s
Windows / clang (12.0.1) (push) Canceled after 0s
Windows / clang (13.0.1) (push) Canceled after 0s
Windows / clang (14.0.6) (push) Canceled after 0s
Windows / clang (15.0.7) (push) Canceled after 0s
Windows / clang (16.0.6) (push) Canceled after 0s
Windows / clang (18.1.8) (push) Canceled after 0s
Windows / clang (19.1.7) (push) Canceled after 0s
Windows / clang (20.1.8) (push) Canceled after 0s
Windows / clang-cl-12 (Win32) (push) Canceled after 0s
Windows / clang-cl-12 (x64) (push) Canceled after 0s
Windows / ci_module_cpp20 (push) Canceled after 0s
* Reformat parser_callback_t example with astyle
The file uses "json & /*parsed*/" in three lambda parameter lists, which
astyle rewrites to "json& /*parsed*/" per --align-reference=type. The
drift went unnoticed because CI never format-checked the documentation
examples; "make pretty" does cover them.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
* Format-check the documentation examples in CI
The examples live in docs/mkdocs/docs/examples, but both format checks
still referenced the long-gone docs/examples path:
- check_amalgamation.yml passed it to find, which printed an error for
the missing path and carried on, so astyle only ever saw include and
tests. The step still exited 0.
- ci.cmake globbed it into INDENT_FILES, and a GLOB_RECURSE over a
missing directory silently yields nothing, so the ci_test_amalgamation
target skipped the examples too.
Either way the 231 example files have never been format-checked. Point
both at the real path, and guard the workflow with an explicit directory
check so a future rename fails the job instead of quietly shrinking the
file list again.
Also drop the dead docs/examples/** path filter from
publish_documentation.yml; docs/mkdocs/** already covers the examples.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
---------
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
When a PR is not amalgamated/formatted, the astyle version friction (see
the recurring blocker across many PRs) means contributors often struggle
to reproduce the exact fix locally. The check now regenerates the
amalgamation and formatting, captures the difference as a patch, and
uploads it as the `amalgamation-patch` artifact. The failure comment
links to that artifact and tells contributors to run
`git apply amalgamation.patch`, so they no longer need to install the
pinned astyle version themselves.
The pass/fail verdict is unchanged: the same PRs fail as before, and a
correctly amalgamated PR uploads nothing and passes.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>