-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 797 Bytes
/
codeQL.yml
File metadata and controls
35 lines (29 loc) · 797 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
34
35
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/setup-gradle@v5
with:
build-scan-publish: true
build-scan-terms-of-use-url: 'https://gradle.com/terms-of-service'
build-scan-terms-of-use-agree: 'yes'
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: kotlin
build-mode: manual
- name: Build with Gradle
run: ./gradlew --no-build-cache classes
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4