We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c4afdb commit 7246b60Copy full SHA for 7246b60
1 file changed
.github/workflows/snyk.yml
@@ -79,6 +79,11 @@ jobs:
79
with:
80
ref: ${{ github.event.pull_request.head.sha || github.ref }}
81
82
+ - name: Set up Python
83
+ uses: actions/setup-python@v5
84
+ with:
85
+ python-version: '3.11'
86
+
87
- name: Check for requirements.txt
88
working-directory: packages/${{ matrix.package }}
89
run: |
@@ -91,6 +96,13 @@ jobs:
91
96
echo "Dependencies to scan:"
92
97
head -5 requirements.txt
93
98
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
94
106
- name: Run Snyk security scan
95
107
uses: snyk/actions/python@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
108
env:
0 commit comments