Refine the installation skips #2
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
| on: [push] | |
| jobs: | |
| multi-runs: | |
| runs-on: ubuntu-24.04 | |
| name: Ensure the action can be executed multiple times | |
| steps: | |
| - name: Get the action.yml from the current branch | |
| uses: actions/checkout@v4 | |
| with: | |
| sparse-checkout: action.yml | |
| sparse-checkout-cone-mode: false | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: scancode-inputs | |
| - uses: ./ | |
| with: | |
| project-name: "scan-1" | |
| pipelines: "scan_codebase" | |
| - uses: ./ | |
| with: | |
| project-name: "scan-2" | |
| pipelines: "scan_codebase" | |
| - name: Verify scanpipe and scancode commands availability | |
| shell: bash | |
| run: | | |
| echo "Checking ScanCode CLI availability..." | |
| which scanpipe || { echo "scanpipe not found in PATH"; exit 1; } | |
| which scancode || { echo "scancode not found in PATH"; exit 1; } | |
| echo "Versions:" | |
| scanpipe shell -c "import scancodeio; from scancode_config import __version__ as scancode_version;print(f'ScanCode.io version: {scancodeio.__version__}');print(f'ScanCode-toolkit version: v{scancode_version}')" |