-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: installing shared dependencies BOM upper-bound check (#1535)
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
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