From ddc9d2b7ccdd1c2432096adbfeb58dfda64cdafc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 03:52:40 +0000 Subject: [PATCH 1/2] Bump actions/cache from 5 to 6 Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-cuda.yml | 6 +++--- .github/workflows/build-metal.yml | 6 +++--- .github/workflows/build-opencl.yml | 8 ++++---- .github/workflows/tests_and_coverage.yml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-cuda.yml b/.github/workflows/build-cuda.yml index 8f9e9a3d8..3af93cd5c 100644 --- a/.github/workflows/build-cuda.yml +++ b/.github/workflows/build-cuda.yml @@ -45,7 +45,7 @@ jobs: python-version: 3.8 - name: Cache pip packages - uses: actions/cache@v5 + uses: actions/cache@v6 continue-on-error: true with: path: ~/.cache/pip @@ -66,7 +66,7 @@ jobs: - name: Cache ccache (Ubuntu) if: matrix.os == 'ubuntu-latest' - uses: actions/cache@v5 + uses: actions/cache@v6 continue-on-error: true with: path: ~/.cache/ccache @@ -115,7 +115,7 @@ jobs: shell: bash - name: Restore build cache - uses: actions/cache@v5 + uses: actions/cache@v6 continue-on-error: true with: path: ${{ runner.workspace }}/build diff --git a/.github/workflows/build-metal.yml b/.github/workflows/build-metal.yml index 63a63b412..cc6eae160 100644 --- a/.github/workflows/build-metal.yml +++ b/.github/workflows/build-metal.yml @@ -38,7 +38,7 @@ jobs: python-version: '3.12' - name: Cache pip packages - uses: actions/cache@v5 + uses: actions/cache@v6 continue-on-error: true with: path: ~/Library/Caches/pip @@ -57,7 +57,7 @@ jobs: shell: bash - name: Cache ccache - uses: actions/cache@v5 + uses: actions/cache@v6 continue-on-error: true with: path: ~/Library/Caches/ccache @@ -69,7 +69,7 @@ jobs: uses: lukka/get-cmake@v4.3.3 - name: Restore build cache - uses: actions/cache@v5 + uses: actions/cache@v6 continue-on-error: true with: path: ${{ runner.workspace }}/build diff --git a/.github/workflows/build-opencl.yml b/.github/workflows/build-opencl.yml index 1edd91e05..c98690c16 100644 --- a/.github/workflows/build-opencl.yml +++ b/.github/workflows/build-opencl.yml @@ -56,7 +56,7 @@ jobs: python-version: 3.8 - name: Cache pip packages - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -76,7 +76,7 @@ jobs: - name: Cache ccache (Ubuntu) if: matrix.os == 'ubuntu-latest' - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ~/.cache/ccache key: ${{ runner.os }}-ccache-opencl-${{ hashFiles('clic/**', 'cmake/**') }} @@ -88,7 +88,7 @@ jobs: - name: Cache OpenCL dependencies if: matrix.opencl-required == true - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ runner.workspace }}/opencl-cache key: opencl-${{ matrix.name }}-${{ env.opencl-icd-loader-git-tag }}-${{ env.opencl-headers-git-tag }} @@ -143,7 +143,7 @@ jobs: shell: bash -l {0} - name: Restore build cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ runner.workspace }}/build key: ${{ runner.os }}-opencl-build-${{ matrix.cmake-build-type }}-${{ hashFiles('CMakeLists.txt', 'clic/**', 'cmake/**') }} diff --git a/.github/workflows/tests_and_coverage.yml b/.github/workflows/tests_and_coverage.yml index 228f78336..20a4a5d3c 100644 --- a/.github/workflows/tests_and_coverage.yml +++ b/.github/workflows/tests_and_coverage.yml @@ -72,7 +72,7 @@ jobs: shell: bash - name: Cache CMake build - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{ runner.workspace }}/build key: cmake-${{ runner.os }}-${{ matrix.buildtype }}-${{ hashFiles('CMakeLists.txt', 'clic/**', 'cmake/**') }} From f55bb4a9d02139c62fd2056e1bc0e45ff573567d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 03:53:37 +0000 Subject: [PATCH 2/2] style(pre-commit.ci): auto fixes --- clic/include/tier4.hpp | 2 +- clic/src/tier4/parametrics_map.cpp | 4 ++-- clic/src/tier7/neighborhood_label_statistics.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clic/include/tier4.hpp b/clic/include/tier4.hpp index 95401f61f..b0287e751 100644 --- a/clic/include/tier4.hpp +++ b/clic/include/tier4.hpp @@ -132,7 +132,7 @@ threshold_mean_func(const Device::Pointer & device, const Array::Pointer & src, * @brief Takes label map and its corresponding quantifications table and plots the requested property (e.g., 'mean_intensity') * on to the labels. The resulting image is a parametric map of the requested property. * - * NOTE: The quantification table can be generated using labels_statistics or labels_neighbors_statistics functions, + * NOTE: The quantification table can be generated using labels_statistics or labels_neighbors_statistics functions, * with the 'include_background' parameter set to 'True'. * * @param device Device to perform the operation on. [const Device::Pointer &] diff --git a/clic/src/tier4/parametrics_map.cpp b/clic/src/tier4/parametrics_map.cpp index 78ca32e45..69a449e61 100644 --- a/clic/src/tier4/parametrics_map.cpp +++ b/clic/src/tier4/parametrics_map.cpp @@ -31,13 +31,13 @@ parametric_map_func(const Device::Pointer & device, throw std::runtime_error("Property '" + target_property + "' not found in statistics"); } - auto nb_labels = tier2::maximum_of_all_pixels_func(device, labels) + 1; + auto nb_labels = tier2::maximum_of_all_pixels_func(device, labels) + 1; auto vector = properties.at(lower_property_name); // check if the vector size matches the number of labels if (vector.size() != nb_labels) { - vector.insert(vector.begin(), 0); + vector.insert(vector.begin(), 0); } auto values = Array::create(vector.size(), 1, 1, 1, dType::FLOAT, mType::BUFFER, device); diff --git a/clic/src/tier7/neighborhood_label_statistics.cpp b/clic/src/tier7/neighborhood_label_statistics.cpp index f5849da59..9257b1ea1 100644 --- a/clic/src/tier7/neighborhood_label_statistics.cpp +++ b/clic/src/tier7/neighborhood_label_statistics.cpp @@ -20,7 +20,7 @@ labels_neighbors_statistics_func(const Device::Pointer & device, const std::vector & proximal_distances, const std::vector & nearest_neighbor_ns, const std::vector & dilation_radii, - bool. include_background) -> StatisticsMap + bool.include_background) -> StatisticsMap { auto nei_stats = compute_neighbors_statistics_per_labels(device, label, proximal_distances, nearest_neighbor_ns, dilation_radii);