Skip to content
Merged
Show file tree
Hide file tree
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
11 changes: 11 additions & 0 deletions .github/actions/install-and-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ runs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- name: Install Mono on Linux
run: |
sudo apt-get update
sudo apt-get install -y apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt-get update
sudo apt-get install -y mono-complete

if: runner.os == 'Linux'
shell: 'bash'

- name: Setup Python3
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion commands/audit/scarunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ func buildDependencyTree(scan *results.TargetResults, params *AuditParams) (*Dep
}
treeResult, techErr := GetTechDependencyTree(params.AuditBasicParams, serverDetails, scan.Technology)
if techErr != nil {
return nil, fmt.Errorf("failed while building '%s' dependency tree:\n%w", scan.Technology, techErr)
return nil, fmt.Errorf("failed while building '%s' dependency tree: %w", scan.Technology, techErr)
}
if treeResult.FlatTree == nil || len(treeResult.FlatTree.Nodes) == 0 {
return nil, errorutils.CheckErrorf("no dependencies were found. Please try to build your project and re-run the audit command")
Expand Down
Loading