-
-
Notifications
You must be signed in to change notification settings - Fork 318
61 lines (49 loc) · 1.47 KB
/
codeql-analysis.yml
File metadata and controls
61 lines (49 loc) · 1.47 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
paths:
- "build.gradle"
- "gradle.properties"
- "settings.gradle"
- "gradle/libs.versions.toml"
- 'frontend/**'
- "contract/**"
- 'api/**'
- 'serde-api/**'
schedule:
- cron: '39 15 * * 6'
permissions:
contents: read
actions: read
security-events: write
jobs:
analyze:
name: CodeQL Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # infered from @v4
with:
token: ${{ github.token }}
- name: Initialize CodeQL
uses: github/codeql-action/init@1a7989f3955e0c69f0e0ccc14aee54a387a0fd31 # infered from @v3
with:
languages: ${{ matrix.language }}
- name: Set up JDK
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # infered from @v4
with:
java-version: '21'
distribution: 'zulu'
cache: 'gradle'
- name: Autobuild
uses: github/codeql-action/autobuild@bed2a47f201e917459bc40343380c570a730ff06 # infered from @v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@86b04fb0e47484f7282357688f21d5d0e32175fe # infered from @v3