Skip to content

Colota - Android GPS Location tracker

ci: add CodeQL workflow for Kotlin and JavaScript analysis

Max Dietrichc8663c2bab40
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index ec09558d..44814975 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -18,7 +18,7 @@ permissions:
security-events: write
jobs:
- analyze:
+ analyze-kotlin:
name: Analyze (kotlin)
runs-on: ubuntu-latest
@@ -61,3 +61,22 @@ jobs:
uses: github/codeql-action/analyze@v3
with:
category: "/language:java-kotlin"
+
+ analyze-javascript:
+ name: Analyze (javascript)
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v3
+ with:
+ languages: javascript-typescript
+ queries: security-and-quality
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v3
+ with:
+ category: "/language:javascript-typescript"