Reintroduce DragAndDropUtil. #1273
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
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@v3 | |
- 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:check pmd: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 |