diff --git a/.github/workflows/test-cpp-compatibility-check-action.yaml b/.github/workflows/test-cpp-compatibility-check-action.yaml index aa3b6e2..861d669 100644 --- a/.github/workflows/test-cpp-compatibility-check-action.yaml +++ b/.github/workflows/test-cpp-compatibility-check-action.yaml @@ -45,4 +45,4 @@ jobs: with: os: "linux" compiler: "g++" - cmake_location: "./.github/dummy-cpp-project/" + cmake-location: "./.github/dummy-cpp-project/" diff --git a/CHANGELOG.md b/CHANGELOG.md index 8973d58..d7e6dfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,10 +10,15 @@ All notable changes to this project will be documented in this file. - README for Dummy C++ Project. - Status logging in pre-commit action. +### Changed + +- Naming convention of variables in actions. + ### Fixed - Typos in pre-commit action. - Move dummy C++ project to .github. +- Fix libpcre caching issue. ## [0.2.0] - 2026-02-11 diff --git a/cpp-compatibility-check/action.yaml b/cpp-compatibility-check/action.yaml index 2fc355a..5d6f936 100644 --- a/cpp-compatibility-check/action.yaml +++ b/cpp-compatibility-check/action.yaml @@ -34,23 +34,23 @@ inputs: description: "Compiler to run the compatibility check." required: false default: "g++" - install_command: + install-command: description: "Install command to run." required: false default: "" - build_type: + build-type: description: "Build type of the project" required: false default: "Release" - cmake_location: + cmake-location: description: "Where CMakeLists.txt is located." required: false default: "." # Defaults to find at root - additional_cmake_args: + additional-cmake-args: description: "Additional CMake Arguments." required: false default: "" - run_tests: + run-tests: description: "Whether to run tests or not." required: false default: "true" @@ -74,23 +74,23 @@ runs: fi - name: Run install command - if: inputs.install_command != '' + if: inputs.install-command != '' shell: bash - run: ${{ inputs.install_command }} + run: ${{ inputs.install-command }} - name: Configure CMake shell: bash run: | - cmake -S ${{ inputs.cmake_location }} -B build \ + cmake -S ${{ inputs.cmake-location }} -B build \ -DCMAKE_CXX_COMPILER=${{ inputs.compiler }} \ - -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} \ - ${{ inputs.additional_cmake_args }} + -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} \ + ${{ inputs.additional-cmake-args }} - name: Build shell: bash - run: cmake --build build --config ${{ inputs.build_type }} + run: cmake --build build --config ${{ inputs.build-type }} - name: Test - if: inputs.run_tests == 'true' + if: inputs.run-tests == 'true' shell: bash - run: ctest --output-on-failure --test-dir build -C ${{ inputs.build_type }} + run: ctest --output-on-failure --test-dir build -C ${{ inputs.build-type }}