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

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

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

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

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit 58e3611

Please sign in to comment.