Skip to content

Commit 118e9e2

Browse files
author
Your tabikiji
committed
modified
1 parent 870661f commit 118e9e2

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,33 @@ jobs:
1818
security-events: write
1919

2020
steps:
21+
# 1. リポジトリ取得
2122
- name: Checkout repository
2223
uses: actions/checkout@v4
2324

24-
# 2. JDK17
25+
# 2. JDK 17 セットアップ(安定動作用)
2526
- name: Setup JDK 17
2627
uses: actions/setup-java@v4
2728
with:
2829
distribution: temurin
2930
java-version: '17'
3031

31-
# 4. Init CodeQL(light query
32+
# 3. CodeQL初期化(軽量クエリ
3233
- name: Initialize CodeQL
3334
uses: github/codeql-action/init@v3
3435
with:
3536
languages: java-kotlin
36-
queries: security-extended
37+
queries: security-extended # 軽量かつ主要チェックのみ
3738
ram: 6144
3839
threads: 2
3940

40-
# 5. 軽量ビルド(APK生成なし / Play依存なし
41-
- name: Compile only (Fdroid Debug)
41+
# 4. 軽量ビルド(APK生成なし・Play Debugフレーバー
42+
- name: Compile only (Play Debug)
4243
run: |
4344
./gradlew --no-daemon --max-workers=2 -x test -x lint :AnkiDroid:compilePlayDebugSources
4445
45-
# 6. CodeQL Analysis
46+
# 5. CodeQL解析実行
4647
- name: Perform CodeQL Analysis
4748
uses: github/codeql-action/analyze@v3
4849
with:
49-
category: "/language:java-kotlin"
50+
category: "/language:java-kotlin"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
22
org.gradle.workers.max=2
3-
kotlin.daemon.jvmargs=-Xmx2g
3+
kotlin.daemon.jvmargs=-Xmx2g
4+
org.gradle.configuration-cache=true

0 commit comments

Comments
 (0)