Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

feat(platform #66): relocated artifact files in project root #22

feat(platform #66): relocated artifact files in project root

feat(platform #66): relocated artifact files in project root #22

Workflow file for this run

name: build
on:
push:
branches:
- '**'
jobs:
build-maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build and Test with maven
run: mvn --batch-mode --update-snapshots verify
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Install Dependencies
run: |
npm install -g bpmnlint dmnlint
- name: Run BPMN Lint
# Find all BPMN files in subdirectories and lint them
run: |
find . -type f -name '*.bpmn' -exec sh -c 'bpmnlint -c "${0%/*}/.bpmnlintrc" "$0"' {} \;
if [ $? -eq 0 ]; then
echo "BPMN linting passed"
else
echo "BPMN linting failed"
exit 1
fi
- name: Run DMN Lint
# Find all DMN files in subdirectories and lint them
run: |
find . -type f -name '*.dmn' -exec sh -c 'dmnlint -c "${0%/*}/.dmnlintrc" "$0"' {} \;
if [ $? -eq 0 ]; then
echo "DMN linting passed"
else
echo "DMN linting failed"
exit 1
fi