diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6506b19..7a4575a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,10 +2,8 @@ name: CodeQL on: push: - branches: [main] branches-ignore: [dependabot/**] pull_request: - branches: ['**'] schedule: - cron: '0 14 * * 6' @@ -27,10 +25,16 @@ jobs: distribution: temurin java-version: '17' + - uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0 + with: + cache-disabled: true + - uses: github/codeql-action/init@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7 with: languages: java-kotlin + build-mode: manual - - uses: github/codeql-action/autobuild@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7 + - name: Build with Gradle + run: ./gradlew clean compileDebugKotlin assembleDebug --no-daemon --no-build-cache --no-configuration-cache - uses: github/codeql-action/analyze@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7