diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 089abdbd0..acceb7ce7 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 35ebae0d5..c060f97c5 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -11,9 +11,9 @@ jobs: - 'src' - 'include' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clang-format style check for C/C++/Protobuf programs. - uses: jidicula/clang-format-action@v4.11.0 + uses: jidicula/clang-format-action@v4.13.0 with: clang-format-version: '18' check-path: ${{ matrix.path }} diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index 89d72e8b9..df01073d4 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -67,7 +67,7 @@ jobs: popd - name: Submit to codecov.io - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: # directory: build/gcov-reports fail_ci_if_error: false diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 978564e1e..bd8f54d29 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -80,4 +80,4 @@ jobs: run: cmake --build build -j 2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 35ab0f945..1e81a1121 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -6,8 +6,8 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: cpp-linter/cpp-linter-action@v2.11.0 + - uses: actions/checkout@v4 + - uses: cpp-linter/cpp-linter-action@v2 id: linter env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 7c490abb6..83256b88f 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 3e76377db..3c579f2da 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -11,7 +11,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: DenverCoder1/doxygen-github-pages-action@v1.3.0 + - uses: DenverCoder1/doxygen-github-pages-action@v2 with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages diff --git a/.github/workflows/linux-clang.yml b/.github/workflows/linux-clang.yml index 174f210fa..bdb59360f 100644 --- a/.github/workflows/linux-clang.yml +++ b/.github/workflows/linux-clang.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/linux-gcc.yml b/.github/workflows/linux-gcc.yml index 55359bc28..af2183054 100644 --- a/.github/workflows/linux-gcc.yml +++ b/.github/workflows/linux-gcc.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/lsan.yml b/.github/workflows/lsan.yml index b89426d46..6183fa9d1 100644 --- a/.github/workflows/lsan.yml +++ b/.github/workflows/lsan.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 036fe7ec9..83cf7381a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/msan.yml b/.github/workflows/msan.yml index 16dce49fb..c809395de 100644 --- a/.github/workflows/msan.yml +++ b/.github/workflows/msan.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index f03f2ff41..9e8c00ce8 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -19,7 +19,7 @@ jobs: env: BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -36,7 +36,7 @@ jobs: - run: gcc --version - name: Install sonar-scanner and build-wrapper - uses: sonarsource/sonarcloud-github-c-cpp@v2 + uses: sonarsource/sonarcloud-github-c-cpp@v3 - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v11 diff --git a/.github/workflows/tsan.yml b/.github/workflows/tsan.yml index 8d752d1c4..af5341234 100644 --- a/.github/workflows/tsan.yml +++ b/.github/workflows/tsan.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index a8257dda8..ef4c3ea6c 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/whitespace.yml b/.github/workflows/whitespace.yml index 81801448c..430d1310c 100644 --- a/.github/workflows/whitespace.yml +++ b/.github/workflows/whitespace.yml @@ -7,5 +7,5 @@ jobs: name: Find Trailing Whitespace runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erictleung/find-file-whitespace@main \ No newline at end of file diff --git a/.github/workflows/windows-msvc.yml b/.github/workflows/windows-msvc.yml index a75c22358..97cacc50f 100644 --- a/.github/workflows/windows-msvc.yml +++ b/.github/workflows/windows-msvc.yml @@ -15,7 +15,7 @@ jobs: VCPKG_ROOT: C:\vcpkg steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/.github/workflows/windows-pkgx.yml b/.github/workflows/windows-pkgx.yml index 54b59a1d9..b4b313ced 100644 --- a/.github/workflows/windows-pkgx.yml +++ b/.github/workflows/windows-pkgx.yml @@ -15,7 +15,7 @@ jobs: VCPKG_ROOT: C:\vcpkg steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff --git a/tests/Utilities_test.cpp b/tests/Utilities_test.cpp index f4e056c33..a8773ca1a 100644 --- a/tests/Utilities_test.cpp +++ b/tests/Utilities_test.cpp @@ -10,6 +10,7 @@ /// @details Tests for random, conversion, and datetime functions. #include +#include #include #include