You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use only 'java' to analyze code written in Java, Kotlin or both
72
67
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
@@ -92,7 +87,7 @@ jobs:
92
87
# runnning code scanning with CodeQL. Link to the documentation - https://docs.github.com/en/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
93
88
# first step is to initialize CodeQL
94
89
- name: Initialize CodeQL
95
-
uses: github/codeql-action/init@v3
90
+
uses: github/codeql-action/init@v2
96
91
with:
97
92
languages: ${{ matrix.language }} # defining the language for the CodeQL analysis
98
93
# debug: true # uncomment this line to enable debugging for CodeQL analysis step
@@ -107,11 +102,11 @@ jobs:
107
102
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
108
103
# If this step fails, then you should remove it and run the build manually (see below)
109
104
- name: Autobuild
110
-
uses: github/codeql-action/autobuild@v3
105
+
uses: github/codeql-action/autobuild@v2
111
106
112
107
# performing Code Quality Analysis with CodeQL. Link to the documentation - https://docs.github.com/en/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
113
108
- name: Perform CodeQL Analysis
114
-
uses: github/codeql-action/analyze@v3
109
+
uses: github/codeql-action/analyze@v2
115
110
with:
116
111
category: "/language:${{matrix.language}}"# defining the language for the CodeQL analysis
117
112
- uses: actions/upload-artifact@v3 # uploading the artifact to the GitHub Artifacts. Link to the documentation - https://docs.github.com/en/actions/guides/storing-workflow-data-as-artifacts
# split-tests action - splits the tests into x number of groups
192
187
# based on the total number of github-hosted runners and junit previous test results by time and line count.
@@ -195,7 +190,7 @@ jobs:
195
190
id: split-tests
196
191
name: Split tests
197
192
with:
198
-
glob: src/test/**/**/*.java # glob pattern to match the test files
193
+
glob: src/test/**/**/**.java # glob pattern to match the test files
199
194
split-total: ${{ env.total-runners }} # total number of github-hosted runners
200
195
split-index: ${{ matrix.runner-index }} # current runner index
201
196
junit-path: test_results/*xml # path to the junit test results with wildcards to match all the files
@@ -216,27 +211,6 @@ jobs:
216
211
name: Test Results
217
212
path: ./target/surefire-reports # path to the test results
218
213
retention-days: 90# retention period for the artifact in days. Link to the documentation - https://docs.github.com/en/actions/guides/storing-workflow-data-as-artifacts#about-workflow-artifact-retention
0 commit comments