Skip to content

Bump com.diffplug.spotless:spotless-maven-plugin from 3.6.0 to 3.7.0 #88

Bump com.diffplug.spotless:spotless-maven-plugin from 3.6.0 to 3.7.0

Bump com.diffplug.spotless:spotless-maven-plugin from 3.6.0 to 3.7.0 #88

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B clean install -DskipTests
- name: Run tests
run: mvn -B test
- name: Generate coverage report
run: mvn -B jacoco:report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
files: ./target/site/jacoco/jacoco.xml
flags: unittests
name: codecov-umbrella
- name: Build Docker image
run: docker build -t contract-first-integrations:${{ github.sha }} .
- name: Archive JAR
uses: actions/upload-artifact@v7
with:
name: contract-first-integrations-jar
path: target/*.jar
retention-days: 7