-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add XML Schema validation using GitHub Actions (#24)
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: CI | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
xmllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: korelstar/xmllint-problem-matcher@v1 | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "./examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "./examples/Chapter 11 Example 1 Originations/Financial.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "examples/Diagram Interchange/diagram-interchange-decision-service.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "examples/Diagram Interchange/diagram-interchange-dish-example.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd | ||
- uses: ChristophWurst/xmllint-action@v1.2 | ||
with: | ||
xml-file: "examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn" | ||
xml-schema-file: ./xsd/DMN15.xsd |