This repository was archived by the owner on Jan 31, 2026. It is now read-only.
Commit a5d672a
authored
chore: configure CodeQL (#581)
* fix: configure CodeQL with buildless extraction for java-kotlin
- Use build-mode: none for java-kotlin to avoid Gradle build issues
- Set up Java 17 to ensure Gradle compatibility if needed
- Add javascript-typescript analysis for TypeScript source code
Fixes CodeQL autobuild failure caused by Gradle 9.2.1 requiring JVM 17+
while autobuild incorrectly selected JVM 8 based on sourceCompatibility.
* chore: remove javascript-typescript from CodeQL workflow
* fix: use manual build with proper React Native setup for CodeQL
- Set up Node.js and install dependencies
- Build from example/android which includes the library
- This allows CodeQL to trace the Kotlin compilation
* fix: generate Gradle wrapper before build
The gradle-wrapper.jar is not committed to the repo
* chore: add caching and use latest LTS Node
- Add Gradle caching via setup-java
- Add Yarn caching via setup-node
- Use lts/* for latest LTS Node version
- Use --frozen-lockfile for reproducible installs
* fix: download Gradle wrapper jar instead of using system Gradle
The system Gradle 9.2.1 has Kotlin 2.2.x which is incompatible with
React Native's gradle-plugin that requires Kotlin 1.9.x. Download the
wrapper jar for Gradle 8.10.2 directly instead.
* chore: use gradle/actions/setup-gradle for proper Gradle setup with caching
Replaces manual wrapper jar download with the official Gradle action
which handles wrapper installation and provides automatic caching.
* fix: specify gradle-version and use gradle command directly
The wrapper jar is not in the repo, so use the installed Gradle
directly instead of relying on the wrapper.
* chore: use GitHub's advanced setup template with manual java-kotlin build
- Matrix strategy for java-kotlin, javascript-typescript, and ruby
- Manual build mode for java-kotlin with proper Gradle setup
- build-mode: none for JS/TS and Ruby
- Updated to codeql-action v41 parent b2c91e1 commit a5d672a
1 file changed
Lines changed: 76 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
0 commit comments