Skip to content

Commit

Permalink
chore: add an unmanaged dependency check (#2038)
Browse files Browse the repository at this point in the history
* chore: add a check

* add a working directory

* add action.yaml directory

* change mvn command

* add shell

* change target

* change target

* change target

* change tag

* add an unmanaged dependency to verify the check

* remove test scope

* remove dependency
  • Loading branch information
JoeWang1127 authored Jan 17, 2024
1 parent 5f99f43 commit 7c963da
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/unmanaged_dependency_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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: |
mvn -B -V -ntp -DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C \
clean install
- name: Unmanaged dependency check
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@unmanaged-dependencies-check-latest
with:
bom-path: google-cloud-bigtable-bom/pom.xml

0 comments on commit 7c963da

Please sign in to comment.