Merge pull request #114 from BySwiizen/dependabot/github_actions/acti… #194
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: ["master"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: | |
schedule: | |
- cron: "0 2 * * 1" | |
jobs: | |
analyze: | |
runs-on: ubuntu-22.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout repository | |
uses: actions/[email protected] | |
# https://github.com/actions/setup-java | |
- name: Setup JDK 21 | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
java-package: jdk | |
architecture: x64 | |
cache: gradle | |
# https://github.com/github/codeql-action | |
- name: Initialize CodeQL | |
uses: github/codeql-action/[email protected] | |
with: | |
languages: 'java' | |
# https://github.com/github/codeql-action | |
- name: Autobuild | |
uses: github/codeql-action/[email protected] | |
# https://github.com/github/codeql-action | |
- name: Perform CodeQL analysis | |
uses: github/codeql-action/[email protected] |