make sure to always add the template even if unused #1057
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.2.2 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3.27.0 | |
with: | |
languages: 'java' | |
- name: setup java | |
uses: actions/setup-java@v4.5.0 | |
with: | |
java-version: '8' | |
java-package: jdk | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3.5.0 | |
with: | |
dependency-graph: generate-and-submit | |
- name: build and test | |
id: build | |
run: ./gradlew build --info --init-script init.gradle | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3.27.0 |