-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathsdk-platform-java-shared_dependencies.yaml
More file actions
44 lines (44 loc) · 1.25 KB
/
sdk-platform-java-shared_dependencies.yaml
File metadata and controls
44 lines (44 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
push:
branches:
- main
pull_request:
paths:
- 'gapic-generator-java-bom/**'
- 'gapic-generator-java-pom-parent/**'
- 'java-shared-dependencies/**'
name: sdk-platform-java shared-dependencies version check
env:
BUILD_SUBDIR: sdk-platform-java
jobs:
filter:
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
library:
- 'sdk-platform-java/**'
upper-bound-check:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
name: Shared Dependencies BOM upper-bound check
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- 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: sdk-plaform-java/java-shared-dependencies/upper-bound-check