File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ schedule :
9+ - cron : ' 0 3 * * 1'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze
14+ runs-on : ubuntu-latest
15+
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ language : [ 'java-kotlin' ]
25+
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v4
29+
30+ - name : Initialize CodeQL
31+ uses : github/codeql-action/init@v3
32+ with :
33+ languages : ${{ matrix.language }}
34+
35+ # Install Flutter
36+ - name : Setup Flutter
37+ uses : subosito/flutter-action@v2
38+ with :
39+ flutter-version : ' stable'
40+
41+ - name : Install dependencies
42+ run : flutter pub get
43+
44+ # Manual build (ovo rešava CodeQL problem)
45+ - name : Build Android
46+ run : flutter build apk --debug
47+
48+ - name : Perform CodeQL Analysis
49+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments