debug: enhance pre-scan commands with additional output for requireme… #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SCA | |
| on: | |
| push: | |
| branches: ["master", "main", "**"] | |
| jobs: | |
| snyk-cli: | |
| uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main | |
| with: | |
| additional-arguments: "--exclude=README.md,.jfrog" | |
| python-version: "3.10" | |
| pre-scan-commands: | | |
| echo "Current directory: $(pwd)" | |
| echo "List of files in current directory:" | |
| ls -la | |
| echo "---" | |
| echo "Contents of requirements.txt:" | |
| cat requirements.txt | |
| echo "---" | |
| python3 -m venv venv --upgrade-deps | |
| ./venv/bin/pip3 install -r requirements.txt | |
| echo "---" | |
| echo "Installed packages:" | |
| ./venv/bin/pip3 list | |
| secrets: inherit |