This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree 1 file changed +16
-6
lines changed
1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 9
9
# the `language` matrix defined below to confirm you have the correct set of
10
10
# supported CodeQL languages.
11
11
#
12
- name : " CodeQL"
12
+ name : " CodeQL Security Scanner"
13
+
14
+ env :
15
+ java : 11
13
16
14
17
on :
15
18
push :
@@ -47,15 +50,22 @@ jobs:
47
50
# Prefix the list here with "+" to use these queries and those in the config file.
48
51
# queries: ./path/to/local/query, your-org/your-repo/queries@main
49
52
50
- - name : Test with Java 11
53
+ - name : Set up JDK ${{ env.java }}
51
54
uses : actions/setup-java@v1
52
55
with :
53
- java-version : 1.11
56
+ java-version : ${{ env.java }}
57
+
58
+ - name : Cache Maven packages
59
+ # FIXME(@JonasCir) #3733 remove '**/*.pom' once serverlib pom is renamed
60
+ uses : actions/cache@v2
61
+ with :
62
+ path : ~/.m2
63
+ key : ${{ runner.os }}-java-${{ env.java }}-m2-${{ hashFiles('**/pom.xml', '**/*.pom') }}
64
+ restore-keys : ${{ runner.os }}-java-${{ env.java }}-m2
54
65
55
66
- name : Build with Maven
56
- run : |
57
- cd sormas-base
58
- mvn install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DskipTests
67
+ working-directory : ./sormas-base
68
+ run : mvn verify -B -ntp -DSkipTests
59
69
60
70
- name : Perform CodeQL Analysis
61
71
uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments