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 4a2a3fa commit 9699545
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CodeQL Analysis

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '11' # Укажите версию Java, используемую в вашем проекте

- name: 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

0 comments on commit 9699545

Please sign in to comment.