Update codeql.yml

Signed-off-by: Androidacy Service Account <opensource@androidacy.com>
pull/166/head
Androidacy Service Account 2 years ago committed by GitHub
parent a941880291
commit c998bc969b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,7 +17,7 @@ on:
pull_request: # The branches below must be a subset of the branches above pull_request: # The branches below must be a subset of the branches above
branches: [ "master" ] branches: [ "master" ]
schedule: schedule:
- cron: '24 17 * * 0' - cron: '30 0 * * 0'
jobs: jobs:
analyze: analyze:
@ -29,7 +29,7 @@ jobs:
security-events: write security-events: write
strategy: strategy:
fail-fast: false fail-fast: true
matrix: matrix:
language: [ 'java' ] language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
@ -43,7 +43,7 @@ jobs:
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v3
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
@ -64,7 +64,7 @@ jobs:
uses: android-actions/setup-android@v2 uses: android-actions/setup-android@v2
- name: Setup Gradle - name: Setup Gradle
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v3
with: with:
gradle-home-cache-includes: | gradle-home-cache-includes: |
caches caches
@ -89,6 +89,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh # ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v3
with: with:
category: "/language:${{matrix.language}}" category: "/language:${{matrix.language}}"

Loading…
Cancel
Save