fix workflow: remove github dependency + duplicate scan
Some checks failed
SonarQube Code Quality Scan / scan (push) Failing after 3s

This commit is contained in:
ShaoHua
2025-12-05 16:08:25 +08:00
parent 777d0c23b1
commit 8544f013d0

View File

@@ -36,14 +36,6 @@ jobs:
dotnet --version
shell: pwsh
- name: Install OWASP Dependency Check
run: |
# 下载 11.0.0 版本(修复 SAFETY 枚举问题)
Invoke-WebRequest -Uri "https://github.com/jeremylong/DependencyCheck/releases/download/v${env:DC_VERSION}/dependency-check-${env:DC_VERSION}-release.zip" -OutFile "dc.zip" -UseBasicParsing
Expand-Archive -Path "dc.zip" -DestinationPath "./dc" -Force
echo "$(Get-Location)/dc/dependency-check/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: pwsh
- name: Run OWASP Dependency Check
run: |
New-Item -Path $env:DC_OUTPUT -ItemType Directory -Force