fineract-pentaho/.github/workflows/maven-build.yml
Víctor Romero 7a6e114112
Merge pull request #299 from openMF/renovate/actions-checkout-6.x
chore(deps): update actions/checkout action to v6
2025-12-22 10:54:23 -06:00

34 lines
1000 B
YAML

name: Java CI with Maven
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'zulu'
cache: 'maven'
- name: Validate Code Formatting
# Enforce coding style guidelines immediately.
# Fails fast if the code does not adhere to the project's Spotless configuration.
run: mvn spotless:check --file pom.xml
- name: Build and Package
# Compiles the code and packages the JAR artifacts.
# Tests are currently skipped (-DskipTests) as integration tests require
# a running Fineract backend instance (localhost:8443) which is not
# available in this standard runner environment.
run: mvn -B clean package -U -DskipTests --file pom.xml