diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index bce0889a7c1..550da73ab75 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -2,13 +2,7 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: release-windows -on: - push: - tags: - - '2.*' - schedule: - - cron: '0 0 * * *' - workflow_dispatch: +on: [push] permissions: contents: read diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 429555e8251..1aef2853094 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -1999,6 +1999,8 @@ void CppCheck::analyseClangTidy(const FileSettings &fileSettings) bool CppCheck::analyseWholeProgram() { + return false; + bool errors = false; // Analyse the tokens CTU::FileInfo ctu; @@ -2025,6 +2027,8 @@ bool CppCheck::analyseWholeProgram() unsigned int CppCheck::analyseWholeProgram(const std::string &buildDir, const std::list &files, const std::list& fileSettings, const std::string& ctuInfo) { + return mLogger->exitcode(); + executeAddonsWholeProgram(files, fileSettings, ctuInfo); if (mSettings.checks.isEnabled(Checks::unusedFunction)) CheckUnusedFunctions::analyseWholeProgram(mSettings, mErrorLogger, buildDir);