Colota - Android GPS Location tracker
ci: add CodeQL workflow and bump Node.js to 22 across all workflows
Max Dietrich65e50f24df51
diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.ymlindex f20aaa31..10e00c95 100644--- a/.github/workflows/build-check.yml+++ b/.github/workflows/build-check.yml@@ -28,7 +28,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Setup Java@@ -71,7 +71,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Setup Java@@ -105,7 +105,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Setup Javadiff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlnew file mode 100644index 00000000..26a8b2b9--- /dev/null+++ b/.github/workflows/codeql.yml@@ -0,0 +1,62 @@+name: CodeQL++on:+ push:+ branches: [main]+ paths:+ - 'apps/mobile/android/**'+ pull_request:+ branches: [main]+ paths:+ - 'apps/mobile/android/**'+ schedule:+ - cron: '0 4 * * 1'++permissions:+ contents: read+ security-events: write++jobs:+ analyze:+ name: Analyze (kotlin)+ runs-on: ubuntu-latest++ steps:+ - name: Checkout code+ uses: actions/checkout@v4++ - name: Setup Java+ uses: actions/setup-java@v4+ with:+ distribution: 'temurin'+ java-version: '17'+ cache: 'gradle'++ - name: Setup Node.js+ uses: actions/setup-node@v4+ with:+ node-version: '22'+ cache: 'npm'++ - name: Install dependencies+ run: npm ci++ - name: Build shared package+ run: npm run build -w @colota/shared++ - name: Initialize CodeQL+ uses: github/codeql-action/init@v3+ with:+ languages: java-kotlin+ queries: security-and-quality++ - name: Build+ run: |+ cd apps/mobile/android+ chmod +x gradlew+ ./gradlew compileGmsDebugSources --no-daemon++ - name: Perform CodeQL Analysis+ uses: github/codeql-action/analyze@v3+ with:+ category: "/language:java-kotlin"diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.ymlindex 05bc6b50..645cc287 100644--- a/.github/workflows/dependency-updates.yml+++ b/.github/workflows/dependency-updates.yml@@ -22,7 +22,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Install npm-check-updates@@ -104,7 +104,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Install dependenciesdiff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymlindex 34a1ee0c..47ac2c63 100644--- a/.github/workflows/deploy-docs.yml+++ b/.github/workflows/deploy-docs.yml@@ -28,7 +28,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Install dependenciesdiff --git a/.github/workflows/docs-check.yml b/.github/workflows/docs-check.ymlindex 700a9c4f..90a02bca 100644--- a/.github/workflows/docs-check.yml+++ b/.github/workflows/docs-check.yml@@ -22,7 +22,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: '20'+ node-version: '22'cache: 'npm'- name: Install dependencies