Skip to content

CodeQL

CodeQL #160

Workflow file for this run

name: "CodeQL"
on:
workflow_dispatch: {}
workflow_call: {}
schedule:
- cron: "17 14 * * 3"
permissions:
contents: read
jobs:
analyze:
name: Scan
runs-on: ubuntu-latest
continue-on-error: true
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
continue-on-error: true
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
config-file: ./.github/codeql/codeql-config.yml
- name: "Gradle Build"
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
id: gradlebuild
continue-on-error: ${{ inputs.experimental }}
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.ref != 'refs/heads/beta' }}
gradle-version: wrapper
gradle-home-cache-cleanup: true
gradle-home-cache-excludes: |
caches/build-cache-1
caches/keyrings
arguments: |
assemble
-PVERSION=1.0-SNAPSHOT
--scan
--no-daemon
--warning-mode=none
--dependency-verification=lenient
-Pci=true
- name: Perform CodeQL Analysis
continue-on-error: true
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9