-
-
Notifications
You must be signed in to change notification settings - Fork 164
45 lines (37 loc) · 1.74 KB
/
codeql-analysis.yml
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
name: CodeQL analysis
on:
schedule:
- cron: '0 18 * * MON'
- cron: '0 18 * * THU'
- cron: '0 18 * * SUN'
jobs:
analyze:
runs-on: ubuntu-latest
steps:
# ================================================================================================================
- name: JDK 11 Setup
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
# ================================================================================================================
- name: Retrieve the sources
uses: actions/checkout@v2
# ================================================================================================================
- name: Initialize CodeQL
uses: github/codeql-action/init@v1.0.22
with:
languages: java
# ================================================================================================================
# TODO Remove this when my PR will be accepted by XChange team.
- name: Install xchange 5.0.13-SNAPSHOT
run: |
mvn install:install-file -Dfile=util/xchange/xchange-gemini/5.0.13-SNAPSHOT/xchange-gemini-5.0.13-SNAPSHOT.jar
mvn install:install-file -Dfile=util/xchange/xchange-kucoin/5.0.13-SNAPSHOT/xchange-kucoin-5.0.13-SNAPSHOT.jar
# ================================================================================================================
- name: Build and package
run: |
mvn package -DskipTests
# ================================================================================================================
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1.0.22