Skip to content

Commit

Permalink
Update codeql action to remove autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Aug 8, 2024
1 parent 2562407 commit 60b625e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
tools: 'https://github.com/github/codeql-action/releases/download/codeql-bundle-20230524/codeql-bundle-linux64.tar.gz'

- name: Autobuild
uses: github/codeql-action/autobuild@v3
# See https://github.com/github/codeql/issues/13541 for the origins of this command
# We can't use autobuild because it doesn't detect the right Java version
- name: Build project
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

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

0 comments on commit 60b625e

Please sign in to comment.