Bump org.codehaus.mojo:versions-maven-plugin from 2.17.1 to 2.18.0 (#… #524
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
name: Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup ASDF | |
uses: equisoft-actions/with-asdf-vm@v2 | |
- name: Cache local Maven repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Run the Maven verify phase | |
env: | |
PROTO_GENERATION: true | |
REQUIRE_PROTO_UP_TO_DATE: true | |
run: | | |
echo "Java version: $(java -version) in $(which java), Maven version: $(mvn -v)" | |
echo "JAVA_HOME: $JAVA_HOME" | |
./mvnw clean install | |
./mvnw javadoc:javadoc -P javadoc # just to check if javadoc is generated |