diff --git a/.github/workflows/shared_dependencies.yaml b/.github/workflows/shared_dependencies.yaml new file mode 100644 index 0000000000..047b647dc9 --- /dev/null +++ b/.github/workflows/shared_dependencies.yaml @@ -0,0 +1,30 @@ +on: + push: + branches: + - main + pull_request: + paths: + - 'gapic-generator-java-bom/**' + - 'gapic-generator-java-pom-parent/**' + - 'java-shared-dependencies/**' +name: shared-dependencies version check +jobs: + upper-bound-check: + name: Shared Dependencies BOM upper-bound check + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: java -version + - name: Install maven modules + run: | + mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip + - name: Check the BOM content satisfies the upper-bound-check test case + run: mvn -B -V -ntp verify -Dcheckstyle.skip + working-directory: java-shared-dependencies/upper-bound-check \ No newline at end of file diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index 9421307931..82bb007741 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -23,7 +23,7 @@ false java.header - 1.3.2 1.53.0