Skip to content

Commit

Permalink
JSON report also
Browse files Browse the repository at this point in the history
  • Loading branch information
xiwenc committed Sep 8, 2024
1 parent c53d40b commit a1dd42a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
rm modelsource.zip
rm -rf mxlint-cli-main
- name: Lint
- name: Lint XML output
run: ./mxlint lint --xunit-report report.xml --rules ./rules --modelsource ./modelsource

- name: Lint JSON output
run: ./mxlint lint --json-report report.json --rules ./rules --modelsource ./modelsource

- name: Upload report
uses: actions/upload-artifact@v4
with:
name: report
path: report.xml
path: report.*

0 comments on commit a1dd42a

Please sign in to comment.