|
@@ -53,8 +53,8 @@ jobs:
|
|
|
|
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
- - name: Autobuild
|
|
|
|
- uses: github/codeql-action/autobuild@v1
|
|
|
|
|
|
+ #- name: Autobuild
|
|
|
|
+ # uses: github/codeql-action/autobuild@v1
|
|
|
|
|
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
# 📚 https://git.io/JvXDl
|
|
# 📚 https://git.io/JvXDl
|
|
@@ -66,6 +66,19 @@ jobs:
|
|
#- run: |
|
|
#- run: |
|
|
# make bootstrap
|
|
# make bootstrap
|
|
# make release
|
|
# make release
|
|
|
|
+ - uses: actions/checkout@v2
|
|
|
|
+ - name: Set up JDK 11
|
|
|
|
+ uses: actions/setup-java@v1
|
|
|
|
+ with:
|
|
|
|
+ java-version: 11
|
|
|
|
+ - name: Cache Maven packages
|
|
|
|
+ uses: actions/cache@v2
|
|
|
|
+ with:
|
|
|
|
+ path: ~/.m2
|
|
|
|
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
|
|
|
+ restore-keys: ${{ runner.os }}-m2
|
|
|
|
+ - name: Build with Maven
|
|
|
|
+ run: mvn -B package --file pom.xml
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|
|
uses: github/codeql-action/analyze@v1
|