Merge pull request #369 from elukewalker/master #1072
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: "Code scanning - action" | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
- 'tmp**' | |
pull_request: | |
branches-ignore: | |
- 'tmp**' | |
schedule: | |
- cron: '0 12 * * 2' | |
jobs: | |
CodeQL-Build: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: java | |
- name: Build project | |
run: | | |
./gradlew jar | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |