Skip to content

Commit

Permalink
Fixing update method
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Mack committed Jul 12, 2024
1 parent bcd9a11 commit 536e732
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ jobs:
source_directory="/workspaces/hostsvc-link/src"
echo "Init database..."
docker exec $container_name bash -c "bash /root/codeql/codeql/codeql database init $database_name -s $source_directory --language=csharp --overwrite"
#docker exec $container_name bash -c "bash /root/codeql/codeql/codeql database init $database_name -s $source_directory --language=csharp --overwrite"
docker exec $container_name bash -c "bash /root/codeql/codeql/codeql database create $database_name --language=csharp --command=\"dotnet build $cs_proj_name\""
echo ""
echo "Download qlpacks..."
Expand Down Expand Up @@ -140,7 +141,7 @@ jobs:
docker exec $container_name bash -c "bash /root/codeql/codeql/codeql resolve qlpacks"
echo ""
docker exec $container_name bash -c "bash /root/codeql/codeql/codeql database create $database_name --language=csharp --command=\"dotnet build $cs_proj_name\" && bash /root/codeql/codeql/codeql database analyze $database_name codeql/csharp-queries codeql/csharp-solorigate-queries githubsecuritylab/codeql-csharp-queries --format=sarif-latest --output=/var/spacedev/tmp/analysis-results.sarif"
docker exec $container_name bash -c "bash /root/codeql/codeql/codeql database analyze $database_name codeql/csharp-queries codeql/csharp-solorigate-queries githubsecuritylab/codeql-csharp-queries --format=sarif-latest --output=/var/spacedev/tmp/analysis-results.sarif"
echo "Database finalize..."
docker exec $container_name bash -c "bash /root/codeql/codeql/codeql database finalize $database_name"
Expand Down

0 comments on commit 536e732

Please sign in to comment.