-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 844 Bytes
/
Copy pathcodeql.yml
File metadata and controls
33 lines (31 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CodeQL
# Static code-scanning for security vulnerabilities in the Kotlin/Java sources.
on:
push:
branches: [main, dev]
pull_request:
branches: [main]
schedule:
- cron: "0 6 * * 1" # weekly, Monday 06:00 UTC
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '21'
- uses: github/codeql-action/init@v4
with:
languages: java-kotlin
build-mode: manual
- run: chmod +x ./gradlew
- name: Build for analysis
run: ./gradlew :app:assembleDebug --no-daemon
- uses: github/codeql-action/analyze@v4
with:
category: "/language:java-kotlin"