chore: release main #795
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: ci | |
jobs: | |
bom-content-test: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'googleapis' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: maven | |
- run: java -version | |
- name: Install BOMs | |
run: | | |
mvn -B -V -ntp install | |
- name: Ensure the members of the Libraries BOM exist in Maven Central | |
uses: ./tests/validate-bom | |
with: | |
bom-path: 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: tests | |
bom-assertion-test: | |
name: BomContentAssertionsTest (Test for assertion logic in BomContentTest) | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'googleapis' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 8 | |
- run: java -version | |
- name: Install BOMs | |
run: | | |
mvn -B -V -ntp install | |
- run: | | |
mvn -B -V -ntp verify -Dtest="BomContentAssertionsTest" | |
working-directory: tests | |