Skip to content

build(deps): bump org.codehaus.plexus:plexus-utils from 3.6.0 to 3.6.1 in /java-cloud-bom/tests/validate-bom #101

build(deps): bump org.codehaus.plexus:plexus-utils from 3.6.0 to 3.6.1 in /java-cloud-bom/tests/validate-bom

build(deps): bump org.codehaus.plexus:plexus-utils from 3.6.0 to 3.6.1 in /java-cloud-bom/tests/validate-bom #101

on:
push:
branches:
- main
pull_request:
name: java-cloud-bom ci
env:
BUILD_SUBDIR: java-cloud-bom
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:
- 'java-cloud-bom/**'
- 'sdk-platform-java/**'
- 'google-auth-library-java/**'
bom-content-test:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' && github.repository_owner == 'googleapis' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 11
cache: maven
- run: java -version
- name: Pre-install all BOM modules to populate local cache
run: bash java-cloud-bom/tests/pre-install.sh
shell: bash
- name: Install BOMs
run: |
mvn -B -V -ntp install -f java-cloud-bom/pom.xml -DskipTests
- name: Ensure the members of the Libraries BOM exist in Maven Central
uses: ./java-cloud-bom/tests/validate-bom
with:
bom-path: java-cloud-bom/libraries-bom/pom.xml
- name: Ensure the BOM has valid content (at releases)
if: github.head_ref == 'release-please--branches--main'
run: |
mvn -B -V -ntp verify -Dtest="BomContentTest#testLibrariesBom"
working-directory: java-cloud-bom/tests
bom-assertion-test:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' && github.repository_owner == 'googleapis' }}
name: BomContentAssertionsTest (Test for assertion logic in BomContentTest)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 11
- run: java -version
- name: Pre-install all BOM modules to populate local cache
run: bash java-cloud-bom/tests/pre-install.sh
shell: bash
- name: Install BOMs
run: |
mvn -B -V -ntp install -f java-cloud-bom/pom.xml -DskipTests
- run: |
mvn -B -V -ntp verify -Dtest="BomContentAssertionsTest"
working-directory: java-cloud-bom/tests