From ee9045fb920fba8e01c28afa0e7f113e14214b8a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 18:23:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .ci/azure-build.yml | 4 ++-- .ci/azure-cmake.yml | 4 ++-- .ci/azure-test.yml | 6 +++--- .circleci/config.yml | 8 ++++---- .github/actions/cmake_config/action.yml | 14 +++++++------- .github/actions/create-file-update-pr/action.yml | 12 ++++++------ 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.ci/azure-build.yml b/.ci/azure-build.yml index 5e7a1fe..3d25906 100644 --- a/.ci/azure-build.yml +++ b/.ci/azure-build.yml @@ -2,10 +2,10 @@ steps: - task: CMake@1 inputs: cmakeArgs: .. -DCMAKE_CXX_STANDARD=$(utilities.std) -DCMAKE_BUILD_TYPE=$(utilities.build_type) $(utilities.options) - displayName: 'Configure' + displayName: "Configure" env: GIT_SSL_NO_VERIFY: 1 - script: cmake --build . - displayName: 'Build' + displayName: "Build" workingDirectory: build diff --git a/.ci/azure-cmake.yml b/.ci/azure-cmake.yml index 1a12a72..ee547a7 100644 --- a/.ci/azure-cmake.yml +++ b/.ci/azure-cmake.yml @@ -7,8 +7,8 @@ steps: - task: ExtractFiles@1 inputs: - archiveFilePatterns: 'cmake*.tar.gz' - destinationFolder: 'cmake_program' + archiveFilePatterns: "cmake*.tar.gz" + destinationFolder: "cmake_program" displayName: Extract CMake - bash: echo "##vso[task.prependpath]$(Build.SourcesDirectory)/cmake_program/cmake-3.14.3-Linux-x86_64/bin" diff --git a/.ci/azure-test.yml b/.ci/azure-test.yml index 33fad88..31032b5 100644 --- a/.ci/azure-test.yml +++ b/.ci/azure-test.yml @@ -1,9 +1,9 @@ steps: - script: ctest --output-on-failure -C $(utilities.build_type) -T test - displayName: 'Test' + displayName: "Test" workingDirectory: build - task: PublishTestResults@2 inputs: - testResultsFormat: 'cTest' - testResultsFiles: '**/Test.xml' + testResultsFormat: "cTest" + testResultsFiles: "**/Test.xml" diff --git a/.circleci/config.yml b/.circleci/config.yml index a097d75..30b67ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ jobs: - image: helics/buildenv:sanitizers-14 environment: CMAKE_FLAGS: '-DCMAKE_CXX_FLAGS="-fsanitize=thread -g -O1 " ' - TSAN_OPTIONS: 'second_deadlock_stack=1 suppressions=/root/project/.circleci/tsan_suppression.txt history_size=4' + TSAN_OPTIONS: "second_deadlock_stack=1 suppressions=/root/project/.circleci/tsan_suppression.txt history_size=4" steps: - checkout @@ -27,9 +27,9 @@ jobs: - image: helics/buildenv:sanitizers-14 environment: CMAKE_FLAGS: '-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS="-fsanitize=undefined,address -lc++ -lc++abi -fsanitize-address-use-after-scope -Wno-unused-command-line-argument -fno-omit-frame-pointer -g -O1 -fsanitize-blacklist=/root/project/.circleci/asan_blacklist.txt" ' - LSAN_OPTIONS: 'suppressions=/root/project/.circleci/leak_suppression.txt' - UBSAN_OPTIONS: 'print_stacktrace=1' - ASAN_OPTIONS: 'alloc_dealloc_mismatch=0' + LSAN_OPTIONS: "suppressions=/root/project/.circleci/leak_suppression.txt" + UBSAN_OPTIONS: "print_stacktrace=1" + ASAN_OPTIONS: "alloc_dealloc_mismatch=0" steps: - checkout diff --git a/.github/actions/cmake_config/action.yml b/.github/actions/cmake_config/action.yml index 55e84d2..bb7e877 100644 --- a/.github/actions/cmake_config/action.yml +++ b/.github/actions/cmake_config/action.yml @@ -1,16 +1,16 @@ -description: 'Test out a bare bones configuration with a CMake version' +description: "Test out a bare bones configuration with a CMake version" inputs: version: - description: 'The full version of CMake to check' + description: "The full version of CMake to check" required: true options: - description: 'The CMake configuration options' + description: "The CMake configuration options" required: false - default: '' -name: 'Configure with CMake' + default: "" +name: "Configure with CMake" runs: - using: 'docker' - image: 'Dockerfile' + using: "docker" + image: "Dockerfile" args: - ${{ inputs.version }} - ${{ inputs.options }} diff --git a/.github/actions/create-file-update-pr/action.yml b/.github/actions/create-file-update-pr/action.yml index d9867e0..a7c1f07 100644 --- a/.github/actions/create-file-update-pr/action.yml +++ b/.github/actions/create-file-update-pr/action.yml @@ -1,12 +1,12 @@ -name: 'Create File Update PR' -description: 'Pushes a new branch with changed files and opens a PR for updating the changed files in the base branch' +name: "Create File Update PR" +description: "Pushes a new branch with changed files and opens a PR for updating the changed files in the base branch" inputs: no-hash: # turn off inclusion of the hash in the created branch name - description: 'Do not include the changed file hash in the PR branch name' + description: "Do not include the changed file hash in the PR branch name" default: false replace-branch: # if a PR branch already exists, replaces it with updated contents - description: 'Replace the contents of an existing PR branch of the same name' + description: "Replace the contents of an existing PR branch of the same name" default: false runs: - using: 'docker' - image: 'Dockerfile' + using: "docker" + image: "Dockerfile"