-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: unmanaged dependency check (#2396)
* ci: unmanaged dependency check This check avoids accidentally adding 3rd party dependencies go/cloud-sdk-java-dependency-governance-design. * unmanaged_dependency_check as required check
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: | ||
pull_request: | ||
name: Unmanaged dependency check | ||
jobs: | ||
unmanaged_dependency_check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
- name: Install modules | ||
shell: bash | ||
run: | | ||
# No argument to build.sh installs the modules in local Maven | ||
# repository | ||
.kokoro/build.sh | ||
- name: Unmanaged dependency check | ||
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@unmanaged-dependencies-check-latest | ||
with: | ||
bom-path: google-cloud-storage-bom/pom.xml |