Skip to content

Commit 807caa2

Browse files
committed
fix: CI pipeline - resolve all syntax errors and optimize for SmartRAG main library only [release]
1 parent 461608e commit 807caa2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: dotnet build src/SmartRAG/SmartRAG.csproj --configuration Release --verbosity quiet
5353

5454
- name: Check for vulnerabilities
55-
run: dotnet list package src/SmartRAG/SmartRAG.csproj --vulnerable
55+
run: dotnet list package --vulnerable --project src/SmartRAG/SmartRAG.csproj
5656

5757
build:
5858
name: Build & Package
@@ -274,10 +274,10 @@ jobs:
274274
- name: Run security scan
275275
run: |
276276
echo "Checking for vulnerable packages..."
277-
dotnet list package src/SmartRAG/SmartRAG.csproj --vulnerable
277+
dotnet list package --vulnerable --project src/SmartRAG/SmartRAG.csproj
278278
echo "Checking for outdated packages..."
279279
dotnet tool install --global dotnet-outdated-tool || echo "dotnet-outdated already installed"
280-
dotnet outdated src/SmartRAG/SmartRAG.csproj --upgrade || echo "No outdated packages or tool unavailable"
280+
dotnet outdated --upgrade --project src/SmartRAG/SmartRAG.csproj || echo "No outdated packages or tool unavailable"
281281
282282
- name: Initialize CodeQL
283283
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)