CodeQL #234
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: | |
schedule: | |
- cron: 37 13 * * 5 | |
jobs: | |
codeql: | |
name: Analyze | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'java' ] | |
steps: | |
- name: Clone Git Repository | |
uses: actions/checkout@v3 | |
- id: graal | |
name: Set up GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
version: latest | |
java-version: 17 | |
components: native-image | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- id: cache | |
name: Cache Maven Repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |