Skip to content

Code scanning - action #1149

Code scanning - action

Code scanning - action #1149

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