File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 7979 with :
8080 ref : ${{ github.event.pull_request.head.sha || github.ref }}
8181
82+ - name : Set up Python
83+ uses : actions/setup-python@v5
84+ with :
85+ python-version : ' 3.11'
86+
8287 - name : Check for requirements.txt
8388 working-directory : packages/${{ matrix.package }}
8489 run : |
9196 echo "Dependencies to scan:"
9297 head -5 requirements.txt
9398
99+ - name : Install dependencies
100+ working-directory : packages/${{ matrix.package }}
101+ run : |
102+ echo "Installing dependencies for Snyk scan..."
103+ pip install -r requirements.txt
104+ echo "✅ Dependencies installed successfully"
105+
94106 - name : Run Snyk security scan
95107 uses : snyk/actions/python@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
96108 env :
You can’t perform that action at this time.
0 commit comments