Skip to content

Commit e132df0

Browse files
committed
Update codeql action to remove autobuild
1 parent 2562407 commit e132df0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ jobs:
4141
languages: ${{ matrix.language }}
4242
tools: 'https://github.com/github/codeql-action/releases/download/codeql-bundle-20230524/codeql-bundle-linux64.tar.gz'
4343

44-
- name: Autobuild
45-
uses: github/codeql-action/autobuild@v3
44+
# See https://github.com/github/codeql/issues/13541 for the origins of this command
45+
# We can't use autobuild because it doesn't detect the right Java version
46+
- name: Build project
47+
run: ./mvnw clean package -f "pom.xml" -B -V -e -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip -Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Drat.skip=true -Dspotless.check.skip=true
4648

4749
- name: Perform CodeQL Analysis
4850
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)