fix workflow: remove github dependency + duplicate scan
Some checks failed
SonarQube Code Quality Scan / scan (push) Failing after 3s
Some checks failed
SonarQube Code Quality Scan / scan (push) Failing after 3s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user