dependabot[bot]
c89e8fac63
⬆️ Bump actions/checkout from 6.0.0 to 6.0.1 ( #5025 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](1af3b93b68...8e8c483db8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-03 18:11:27 +01:00
dependabot[bot]
a0e9fb1e63
⬆️ Bump actions/checkout from 5.0.1 to 6.0.0 ( #5008 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](93cb6efe18...1af3b93b68 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 23:57:41 +01:00
dependabot[bot]
8fb6fca692
⬆️ Bump actions/checkout from 5.0.0 to 5.0.1 ( #5001 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](08c6903cd8...93cb6efe18 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 18:15:21 +01:00
Niels Lohmann
2566828ed5
Fix CI ( #4954 )
...
* 🚨 suppress readability-redundant-parentheses
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🚨 suppress google-runtime-float
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🚨 suppress bugprone-throwing-static-initialization
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🚨 suppress bugprone-throwing-static-initialization
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🚨 suppress bugprone-throwing-static-initialization
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🚨 suppress bugprone-throwing-static-initialization
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🚨 suppress bugprone-throwing-static-initialization
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🗑️ do not use macos-13 image
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ use more Xcode versions
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* ⚗️ fix Clang build
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 🔨 clean up
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
---------
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2025-10-22 11:14:01 +02:00
dependabot[bot]
d275e706ca
⬆️ Bump actions/checkout from 4.2.2 to 5.0.0 ( #4886 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](11bd71901b...08c6903cd8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 13:04:52 +02:00
Niels Lohmann
5f77df4e22
Add Xcode 16.3 ( #4803 )
...
* 👷 add Xcode 16.3
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 👷 add arm64 images
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 👷 add arm64 images
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
* 👷 add Xcode 16.3
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
---------
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2025-06-01 17:56:06 +02:00
Niels Lohmann
26cfec34be
Clean up and document project files ( #4560 )
2025-01-17 06:53:35 +01:00
StepSecurity Bot
5362012fdd
[StepSecurity] ci: Harden GitHub Actions ( #4551 )
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2024-12-17 15:20:06 +01:00
Niels Lohmann
861ec9c3c6
Fix token permissions warnings ( #4550 )
...
* 🚨 fix token permissions warnings
* 🚨 fix token permissions warnings
* 🚨 fix token permissions warnings
2024-12-17 12:55:19 +01:00
Niels Lohmann
677e19e39c
Clean up ( #4546 )
2024-12-16 07:23:35 +01:00
StepSecurity Bot
4003f8da02
[StepSecurity] Apply security best practices ( #4539 )
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2024-12-15 18:31:21 +01:00
Niels Lohmann
3d6c664de2
Allow comparing default initialized iterators ( #4512 )
2024-11-26 06:35:14 +01:00
Niels Lohmann
1825117e63
Another desperate try to fix the CI ( #4489 )
...
* 🚨 fix warning
* 💚 update actions
* 🚨 fix warning
* 🚨 fix warning
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 🚨 fix warning
* 🚨 fix warning
* 💚 update actions
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 💚 update actions
* 🚨 fix warning
* 🚨 fix warning
* 🚨 fix warning
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 💚 update actions
* 💚 update actions
* 💚 update actions
2024-11-13 10:21:26 +01:00
Niels Lohmann
a0c1318830
Fix CI + new Doctest ( #3985 )
2023-05-21 17:23:18 +02:00
Joyce
546370c9e7
Set minimal permissions to Github Workflows ( #3972 )
2023-03-13 12:14:35 +01:00
Niels Lohmann
24ba54e687
Fix pipeline ( #3862 )
2022-12-04 14:03:54 +01:00
Niels Lohmann
22cd1c9eb9
🔧 adjust naming of GitHub action jobs ( #3661 )
2022-08-03 18:37:02 +02:00
Florian Albrechtskirchinger
ac9e668e63
Update CI ( #3626 )
...
* Bump macos-10.5 runner to macos-11 and update Xcode versions
* Address CodeQL warning
* Only build relevant commits on AppVeyor
* Don't hardcode paths in Ubuntu workflow
2022-08-03 09:15:16 +02:00
Florian Albrechtskirchinger
298e4a9449
Use concurrency ( #3610 )
...
Use concurrency in GitHub workflows to cancel in-progress or pending
runs for the same ref.
2022-07-28 21:51:32 +02:00
Niels Lohmann
6058d9a8b3
Add more macOS builders ( #3485 )
...
* 👷 add more macOS builders
* 👷 add more macOS builders
* 💚 fix macOS build
* 📝 document new Xcode versions
2022-06-03 14:03:14 +02:00
Niels Lohmann
448b173ccf
Update CI image ( #3420 )
...
* ⬆️ use new CI image
* ⬆️ use new CI image
* 🚨 suppress Clang-Tidy warnings
* 💚 use proper scan-build version
* 🚨 suppress Clang-Tidy warnings
* ⬆️ use more recent GitHub actions
* 💚 add missing compiler
* 📝 update used compilers
* 🚨 fix duplicate inclusion
2022-04-06 15:14:14 +02:00
Florian Albrechtskirchinger
ad103e5b45
Improve unit testing (Part 1) ( #3380 )
...
* Refactor unit test creation
Add functions for creating tests and to supply test- and
standard-specific build settings.
Raises minimum CMake version to 3.13 in test directory.
json_test_add_test_for(
<file>
MAIN <main>
[CXX_STANDARDS <version_number>...] [FORCE])
Given a <file> unit-foo.cpp, produces
test-foo_cpp<version_number>
if C++ standard <version_number> is supported by the compiler and
thesource file contains JSON_HAS_CPP_<version_number>. Use FORCE to
create the test regardless of the file containing
JSON_HAS_CPP_<version_number>. Test targets are linked against <main>.
CXX_STANDARDS defaults to "11".
json_test_set_test_options(
all|<tests>
[CXX_STANDARDS all|<args>...]
[COMPILE_DEFINITIONS <args>...]
[COMPILE_FEATURES <args>...]
[COMPILE_OPTIONS <args>...]
[LINK_LIBRARIES <args>...]
[LINK_OPTIONS <args>...])
Supply test- and standard-specific build settings.
Specify multiple tests using a list e.g., "test-foo;test-bar".
Must be called BEFORE the test is created.
* Use CMAKE_MODULE_PATH
* Don't undef some macros if JSON_TEST_KEEP_MACROS is defined
* Use JSON_TEST_KEEP_MACROS
Incidentally enables the regression tests for #2546 and #3070 .
A CHECK_THROWS_WITH_AS in #3070 was disabled which is tracked in #3377
and a line in from_json(..., std_fs::path&) was marked with LCOV_EXCL_LINE.
* Add three-way comparison feature test macro
* Disable broken comparison if JSON_HAS_THREE_WAY_COMPARISON
* Fix redefinition of inline constexpr statics
Redelcaration of inline constexpr static data members in namespace scope
was deprecated in C++17. Fixes -Werror=deprecated compilation failures.
* Fix more test build failures due to missing noexcept
* CI: update cmake_flags test to use CMake 3.13 in test directory
Also change default for JSON_BuildTests option to depend on CMake
version.
* CI: turn *_CXXFLAGS into CMake lists
* CI: use JSON_TestStandards to set CXX_STANDARD
* CI: pass extra CXXFLAGS to standards tests
2022-03-24 07:54:07 +01:00
Florian Albrechtskirchinger
d1e57df48b
Fix and update CI ( #3368 )
...
* CI: add workflow_dispatch trigger
* CI: change msvc2019*/clang* runners to windows-2019
GitHub updated their runners. windows-latest is now based on Windows
Server 2022 and comes with different tool versions.
MSVC 2019 is still available via the windows-2019 runner.
2022-03-06 13:54:00 +01:00
Niels Lohmann
fa5d3b5a9b
👷 run CI for release branches
2021-08-15 22:49:31 +02:00
Niels Lohmann
30e52eb046
👷 execute all tests
2021-05-30 13:28:58 +02:00
Niels Lohmann
2b685c744b
👷 reduce load
2021-05-29 13:10:28 +02:00
Niels Lohmann
9f5ee3f145
👷 fix syntax
2021-05-28 22:27:46 +02:00
Niels Lohmann
311730bc3d
👷 add C++ standards to macOS matrix #2491
2021-05-28 22:23:50 +02:00
Niels Lohmann
077fe41a82
🚧 do not check pushes to non-default branches
2021-03-28 14:59:42 +02:00
Niels Lohmann
f268035946
👷 consolidate CI
2021-03-28 13:37:04 +02:00
Niels Lohmann
6f551930e5
🚨 add new CI and fix warnings ( #2561 )
...
* ⚗️ move CI targets to CMake
* ♻️ add target for cpplint
* ♻️ add target for self-contained binaries
* ♻️ add targets for iwyu and infer
* 🔊 add version output
* ♻️ add target for oclint
* 🚨 fix warnings
* ♻️ rename targets
* ♻️ use iwyu properly
* 🚨 fix warnings
* ♻️ use iwyu properly
* ♻️ add target for benchmarks
* ♻️ add target for CMake flags
* 👷 use GitHub Actions
* ⚗️ try to install Clang 11
* ⚗️ try to install GCC 11
* ⚗️ try to install Clang 11
* ⚗️ try to install GCC 11
* ⚗️ add clang analyze target
* 🔥 remove Google Benchmark
* ⬆️ Google Benchmark 1.5.2
* 🔥 use fetchcontent
* 🐧 add target to download a Linux version of CMake
* 🔨 fix dependency
* 🚨 fix includes
* 🚨 fix comment
* 🔧 adjust flags for GCC 11.0.0 20210110 (experimental)
* 🐳 user Docker image to run CI
* 🔧 add target for Valgrind
* 👷 add target for Valgrind tests
* ⚗️ add Dart
* ⏪ remove Dart
* ⚗️ do not call ctest in test subdirectory
* ⚗️ download test data explicitly
* ⚗️ only execute Valgrind tests
* ⚗️ fix labels
* 🔥 remove unneeded jobs
* 🔨 cleanup
* 🐛 fix OCLint call
* ✅ add targets for offline and git-independent tests
* ✅ add targets for C++ language versions and reproducible tests
* 🔨 clean up
* 👷 add CI steps for cppcheck and cpplint
* 🚨 fix warnings from Clang-Tidy
* 👷 add CI steps for Clang-Tidy
* 🚨 fix warnings
* 🔧 select proper binary
* 🚨 fix warnings
* 🚨 suppress some unhelpful warnings
* 🚨 fix warnings
* 🎨 fix format
* 🚨 fix warnings
* 👷 add CI steps for Sanitizers
* 🚨 fix warnings
* ⚡ add optimization to sanitizer build
* 🚨 fix warnings
* 🚨 add missing header
* 🚨 fix warnings
* 👷 add CI step for coverage
* 👷 add CI steps for disabled exceptions and implicit conversions
* 🚨 fix warnings
* 👷 add CI steps for checking indentation
* 🐛 fix variable use
* 💚 fix build
* ➖ remove CircleCI
* 👷 add CI step for diagnostics
* 🚨 fix warning
* 🔥 clean Travis
2021-03-24 07:15:18 +01:00
Niels Lohmann
325e8ab8ab
🔧 explicitly switch on tests in CI
2020-05-27 13:22:14 +02:00
Niels Lohmann
4d39644bd0
💚 fix build
2020-05-19 13:45:52 +02:00
Niels Lohmann
5cfa8a586e
👷 run workflows on pull requests
2020-05-18 14:01:54 +02:00
Niels Lohmann
44a2158b18
👷 make debug build
2020-05-12 20:51:45 +02:00
Niels Lohmann
77e0ba8750
👷 parallelize builds
2020-05-12 20:45:18 +02:00
Niels Lohmann
6e59c8301a
👷 simplify CMake invocations
2020-05-12 20:37:50 +02:00
Niels Lohmann
ab02b08296
👷 rename workflows
2020-05-12 20:30:11 +02:00
Niels Lohmann
cd76f59af6
👷 add more GitHub actions workflows
2020-05-12 20:26:17 +02:00