Skip to content

Commit a91dde7

Browse files
committed
new change
1 parent 5d44d9b commit a91dde7

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,7 @@ 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
47+
5548

5649
- name: Snyk Test Dependencies
5750
run: snyk test
@@ -68,7 +61,7 @@ jobs:
6861
- name: Run Trivy vulnerability scanner
6962
uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
7063
with:
71-
image-ref: 'awesome-fastapi:${{ github.sha }}'
64+
image-ref: 'awesome-fastapi'
7265
format: 'template'
7366
template: '@/contrib/sarif.tpl'
7467
output: 'GitHub Actions/Trivy Automation'

0 commit comments

Comments
 (0)