Skip to content

Commit

Permalink
codeql: try to change off autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
jentfoo committed Oct 16, 2024
1 parent f1b8bc1 commit 2e6c970
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:

strategy:
fail-fast: false
matrix:
language: [ 'java' ]

steps:
- name: Checkout repository
Expand All @@ -28,15 +26,24 @@ jobs:
- name: Initialize the CodeQL tools for scanning
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
languages: 'java'
timeout-minutes: 5

- name: Autobuild
uses: github/codeql-action/autobuild@v3
timeout-minutes: 10
- name: Set up JDK
uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7
with:
java-version: "21"
distribution: "temurin"
server-id: github

- name: Java Build
run: |
mvn --batch-mode clean compile -s settings.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: "/language:java"
timeout-minutes: 10

0 comments on commit 2e6c970

Please sign in to comment.