-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (35 loc) · 916 Bytes
/
security.yml
File metadata and controls
37 lines (35 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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@v6
- uses: gradle/actions/wrapper-validation@v6
- name: Use JDK 25
uses: actions/setup-java@v5
with:
distribution: oracle
java-version: 25
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: java
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
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@v4
with:
category: "/language:java"