Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,12 @@ jobs:
run: npm install

- name: Install SonarMark from package
shell: pwsh
shell: bash
run: |
echo "Installing SonarMark version ${{ inputs.version }}"
dotnet tool install --global `
--add-source packages `
--version ${{ inputs.version }} `
dotnet tool install --global \
--add-source packages \
--version ${{ inputs.version }} \
DemaConsulting.SonarMark

- name: Restore Tools
Expand All @@ -336,20 +336,19 @@ jobs:
--enforce

- name: Generate CodeQL Quality Report with SarifMark
shell: pwsh
run: |
echo "Generating CodeQL quality report..."
dotnet sarifmark `
--sarif codeql-results/csharp.sarif `
--report docs/quality/codeql-quality.md `
--heading "SonarMark CodeQL Analysis" `
--report-depth 1
shell: bash
run: >
dotnet sarifmark
--sarif codeql-results/csharp.sarif
--report docs/quality/codeql-quality.md
--heading "SonarMark CodeQL Analysis"
--report-depth 1

- name: Display CodeQL Quality Report
shell: pwsh
shell: bash
run: |
echo "=== CodeQL Quality Report ==="
Get-Content docs/quality/codeql-quality.md
cat docs/quality/codeql-quality.md

- name: Generate HTML with Pandoc
run: >
Expand Down Expand Up @@ -400,23 +399,23 @@ jobs:
"docs/SonarMark Trace Matrix.pdf"

- name: Generate Code Quality Report with SonarMark
shell: pwsh
shell: bash
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: >
sonarmark
--server https://sonarcloud.io
--project-key demaconsulting_SonarMark
--branch ${{ github.ref_name }}
--token "$env:SONAR_TOKEN"
--token "$SONAR_TOKEN"
--report docs/quality/sonar-quality.md
--report-depth 1

- name: Display SonarCloud Quality Report
shell: pwsh
shell: bash
run: |
echo "=== SonarCloud Quality Report ==="
Get-Content docs/quality/sonar-quality.md
cat docs/quality/sonar-quality.md

- name: Generate Code Quality HTML with Pandoc
run: >
Expand Down
Loading