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 d846e01 commit 0bc659b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '11' # Укажите версию Java, используемую в вашем проекте
distribution: 'adopt-openjdk' # Укажите дистрибутив Java, например 'adopt-openjdk', 'zulu', и т.д.

- name: Build
run: ./gradlew build # Выполните
run: ./gradlew build # Выполните сборку проекта с помощью Gradle, если это необходимо

- name: Set up CodeQL
uses: github/codeql-action/setup@v3
with:
languages: java # Укажите язык программирования

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

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

0 comments on commit 0bc659b

Please sign in to comment.