Skip to content

Commit

Permalink
Add CodeQL analysis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
77alf77 committed Aug 2, 2024
1 parent 58e3611 commit fafc01d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,15 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt-openjdk'
distribution: 'adoptopenjdk'

- name: Build
- name: Build with Gradle
run: ./gradlew build

- name: Set up CodeQL
uses: github/codeql-action/setup@v2
uses: github/codeql-action/setup@v3
with:
languages: java

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

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: /path/to/your/sarif/file.sarif
uses: github/codeql-action/analyze@v3

0 comments on commit fafc01d

Please sign in to comment.