Skip to content

Commit 5d44d9b

Browse files
committed
added some commands to the snyk job from the error log
1 parent 3d643eb commit 5d44d9b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/unit-sec-test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ jobs:
4444
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
4545
- name: Snyk Code test
4646
run: snyk code test --sarif > snyk-cide.sarif
47+
shell: /usr/bin/bash -e {0}
48+
env:
49+
pythonLocation: /opt/hostedtoolcache/Python/3.12.5/x64
50+
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
51+
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.5/x64
52+
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.5/x64
53+
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.5/x64
54+
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.5/x64/lib
4755

4856
- name: Snyk Test Dependencies
4957
run: snyk test

0 commit comments

Comments
 (0)