Skip to content

Commit 3e6fed7

Browse files
1 parent 84f8ec7 commit 3e6fed7

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

synthtool/gcp/templates/java_library/.github/workflows/ci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,11 @@ jobs:
3636
JOB_TYPE: test
3737
dependencies:
3838
runs-on: ubuntu-latest
39-
strategy:
40-
matrix:
41-
java: [8, 11]
4239
steps:
4340
- uses: actions/checkout@v2
4441
- uses: actions/setup-java@v1
4542
with:
46-
java-version: ${{matrix.java}}
43+
java-version: 8
4744
- run: java -version
4845
- run: .kokoro/dependencies.sh
4946
linkage-monitor:

synthtool/gcp/templates/java_library/.kokoro/dependencies.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************"
4141
## Run dependency list completeness check
4242
function completenessCheck() {
4343
# 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.
4644
msg "Generating dependency list using original pom..."
47-
mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt
45+
mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt
4846

4947
# Output dep list generated using the flattened pom (test scope deps are ommitted)
5048
msg "Generating dependency list using flattened pom..."

0 commit comments

Comments
 (0)