Skip to content

Replace aggregate deprecated configuration with a goal (#813) #269

Replace aggregate deprecated configuration with a goal (#813)

Replace aggregate deprecated configuration with a goal (#813) #269

Workflow file for this run

name: verify
on: [push, pull_request]
jobs:
maven-verify:
runs-on: ubuntu-22.04
steps:
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.3
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Set up Workspace Enviroment Variable
run: echo "WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV
- name: Cache Maven dependencies
uses: actions/cache@v3
with:
path: /home/runner/.m2/repository
key: ${{ runner.os }}-maven-0-${{ hashFiles('**/pom.xml') }}
- name: Build with Maven within a virtual X Server Environment
run: xvfb-run mvn clean verify checkstyle:check pmd:aggregate-pmd-check pmd:aggregate-cpd-check spotbugs:check -f ./ddk-parent/pom.xml --batch-mode --fail-at-end
- name: Archive Tycho Surefire Plugin
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: tycho-surefire-plugin
path: ${{ env.GITHUB_WORKSPACE }}/com.avaloq.tools.ddk.xtext.test/target/work/data/.metadata/.log