Skip to content

Commit 7a239be

Browse files
authored
ci: unmanaged dependencies check (#1603)
b/320677251 and go/cloud-sdk-java-dependency-governance-design which Hannah reviewed the idea.
1 parent d690ee1 commit 7a239be

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
pull_request:
3+
name: Unmanaged dependency check
4+
jobs:
5+
unmanaged_dependency_check:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- uses: actions/setup-java@v3
10+
with:
11+
distribution: temurin
12+
java-version: 11
13+
- name: Install modules
14+
shell: bash
15+
run: |
16+
# No argument to build.sh installs the modules in local Maven
17+
# repository
18+
.kokoro/build.sh
19+
- name: Unmanaged dependency check
20+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@unmanaged-dependencies-check-latest
21+
with:
22+
bom-path: google-cloud-pubsublite-bom/pom.xml

0 commit comments

Comments
 (0)