From 0aaeed4fa11ac24d48088db80cd447da2ad95621 Mon Sep 17 00:00:00 2001 From: Andrey Kuleshov Date: Wed, 6 Jul 2022 13:37:51 +0300 Subject: [PATCH 1/2] Hotfix for CodeQl build ### What's done: - added manual build with mvn --- .github/workflows/codeql-analysis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 57eb5a0149..3601aaad0e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,14 +42,14 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + # - name: Autobuild + # uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -58,9 +58,8 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - #- run: | - # make bootstrap - # make release + - run: | + mvn clean install - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 From b061051e4450307000e5dad6246e2809b317d7e4 Mon Sep 17 00:00:00 2001 From: Andrey Kuleshov Date: Wed, 6 Jul 2022 13:48:41 +0300 Subject: [PATCH 2/2] Hotfix for CodeQl build ### What's done: - added manual build with mvn --- diktat-gradle-plugin/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diktat-gradle-plugin/build.gradle.kts b/diktat-gradle-plugin/build.gradle.kts index 218b9abf72..3a1b0f0423 100644 --- a/diktat-gradle-plugin/build.gradle.kts +++ b/diktat-gradle-plugin/build.gradle.kts @@ -12,7 +12,7 @@ plugins { repositories { flatDir { // to use snapshot diktat without necessary installing - dirs("../diktat-rules/target") + dirs("../diktat-common/target") content { includeGroup("org.cqfn.diktat") }