Skip to content

Security

Security #108

Workflow file for this run

name: Security
on:
workflow_dispatch:
schedule:
- cron: '27 23 * * 1'
jobs:
security:
runs-on: ubuntu-latest
permissions:
contents: write
actions: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v4
- name: Use JDK 22
uses: actions/setup-java@v4
with:
distribution: oracle
java-version: 22
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
cache-read-only: true
- name: Build with Gradle
run: |
./gradlew --no-daemon --no-build-cache -s :build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:java"