This repository was archived by the owner on Sep 19, 2023. It is now read-only.
File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,14 @@ jobs:
36
36
JOB_TYPE : test
37
37
dependencies :
38
38
runs-on : ubuntu-latest
39
+ strategy :
40
+ matrix :
41
+ java : [8, 11]
39
42
steps :
40
43
- uses : actions/checkout@v2
41
44
- uses : actions/setup-java@v1
42
45
with :
43
- java-version : 8
46
+ java-version : ${{matrix.java}}
44
47
- run : java -version
45
48
- run : .kokoro/dependencies.sh
46
49
linkage-monitor :
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************"
41
41
# # Run dependency list completeness check
42
42
function completenessCheck() {
43
43
# Output dep list with compile scope generated using the original pom
44
+ # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency.
45
+ # This is stripped from the output as it is not present in the flattened pom.
44
46
msg " Generating dependency list using original pom..."
45
- mvn dependency:list -f pom.xml -Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' | grep -v ' :test$' > .org-list.txt
47
+ mvn dependency:list -f pom.xml -Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' | sed -e s/ \\ s-- \\ smodule. * // | grep -v ' :test$' > .org-list.txt
46
48
47
49
# Output dep list generated using the flattened pom (test scope deps are ommitted)
48
50
msg " Generating dependency list using flattened pom..."
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/java-shared-dependencies.git",
7
- "sha": "60814f8f3dd42e6111cab2276f7cd74c4b32d434 "
7
+ "sha": "3d9e38a8e3e7a1d9b4497e129d59a7d96244d3b9 "
8
8
}
9
9
},
10
10
{
11
11
"git": {
12
12
"name": "synthtool",
13
13
"remote": "https://github.com/googleapis/synthtool.git",
14
- "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2 "
14
+ "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd "
15
15
}
16
16
}
17
17
]
You can’t perform that action at this time.
0 commit comments