diff --git a/CHANGELOG.md b/CHANGELOG.md index 62fc701..fd27597 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. +## [UNRELEASED] + +### Added + +- Better cache support in pre-commit action. +- README for Dummy C++ Project. +- Status logging in pre-commit action. + +### Fixed + +- Typos in pre-commit action. + ## [0.2.0] - 2026-02-11 ### Added diff --git a/dummy_cpp_project/CMakeLists.txt b/dummy_cpp_project/CMakeLists.txt index 5277b3a..2b70681 100644 --- a/dummy_cpp_project/CMakeLists.txt +++ b/dummy_cpp_project/CMakeLists.txt @@ -41,8 +41,6 @@ # cmake-format: on -# TODO: Will be rewritten. - cmake_minimum_required(VERSION 3.30) # Read version from VERSION file diff --git a/pre-commit/action.yaml b/pre-commit/action.yaml index 835fb62..a882d9c 100644 --- a/pre-commit/action.yaml +++ b/pre-commit/action.yaml @@ -27,11 +27,11 @@ name: "Pre Commit" description: "Runs pre-commit with the given inputs." inputs: python-version: - description: "Version of Python to use" + description: "Version of Python to use." required: false default: "3.x" use_cache: - description: "Enable or disable caching of pre-commit hooks and cppcheck" + description: "Enable or disable caching of pre-commit hooks." required: false default: "true" use_cppcheck: @@ -39,7 +39,7 @@ inputs: required: false default: "true" args: - description: "Arguments given to pre-commit" + description: "Arguments given to pre-commit." required: false default: "--all-files" @@ -57,8 +57,10 @@ runs: if: inputs.use_cppcheck == 'true' shell: bash run: | - sudo apt-get -qq update + echo "Installing Cppcheck..." + sudo apt-get -qq -y update sudo apt-get install -qq -y cppcheck + echo "Cppcheck Installed." - name: Set up pre-commit cache id: cache-pre-commit @@ -75,5 +77,7 @@ runs: PRE_COMMIT_HOME: ${{ github.workspace }}/.cache/pre-commit shell: bash run: | + echo "Running Pre Commit..." pip install pre-commit pre-commit run ${{ inputs.args }} + echo "All Tests Passed!"