Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/step-dotnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
${{ runner.os }}-nuget-

- name: Restore dependencies
run: dotnet restore ${{ inputs.solution }} -v ${{ inputs.dotnet-logging }}

Check failure on line 123 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

Check failure on line 123 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

# The prebuilt output is only reused on Linux, since the binaries and the
# source paths embedded in the coverage reports are produced on a Linux
Expand All @@ -139,17 +139,17 @@

- name: Build
if: ${{ inputs.prebuilt-artifact == '' || runner.os != 'Linux' }}
run: dotnet build ${{ inputs.solution }} -c Release -v ${{ inputs.dotnet-logging || 'minimal' }} --no-restore /p:GeneratePackageOnBuild=false /p:Version=${{ inputs.solution-version }}

Check failure on line 142 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

Check failure on line 142 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

Check failure on line 142 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

- name: Test
id: test
env:
TUNIT_DISABLE_GITHUB_REPORTER: true
run: |
dotnet test --solution ${{ inputs.solution }} -c Release -v ${{ inputs.dotnet-logging || 'minimal' }} --no-build --no-restore /p:Version=${{ inputs.solution-version }} --results-directory ./TestResults --ignore-exit-code 8 ${{ inputs.test-filter != '' && format('--treenode-filter "{0}"', inputs.test-filter) || ''}} --no-progress -- --coverage --coverage-output-format cobertura

Check failure on line 149 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

Check failure on line 149 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

Check failure on line 149 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

Check failure on line 149 in .github/workflows/step-dotnet-tests.yml

View check run for this annotation

codefactor.io / CodeFactor

template-injection

Code injection via template expansion: may expand into attacker-controllable code.

- name: ReportGenerator
uses: danielpalme/ReportGenerator-GitHub-Action@5f3701a41d14548c9b8e575a5c235230e515cbc0 # v5.6.0
uses: danielpalme/ReportGenerator-GitHub-Action@70c37c4d588cff5bf9cf190830c6f01dfcfb884b # v5.6.1
with:
reports: '${{ github.workspace }}/TestResults/**/*.cobertura.xml'
targetdir: '${{ github.workspace }}/coveragereports'
Expand Down
Loading