Skip to content

Commit 63e5fdd

Browse files
committed
Clean up ngsast.yml
1 parent 34110c4 commit 63e5fdd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ngsast.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,16 @@ jobs:
1616
curl https://cdn.shiftleft.io/download/sl > ${GITHUB_WORKSPACE}/sl && chmod a+rx ${GITHUB_WORKSPACE}/sl
1717
- uses: actions/setup-python@v2
1818
with:
19-
python-version: '3.8.5'
19+
python-version: '3.8'
2020
- name: Extract branch name
2121
shell: bash
2222
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2323
id: extract_branch
2424
- name: Analyze codebase
2525
run: |
26-
python3 -m venv .venv
27-
. .venv/bin/activate
2826
pip install --upgrade setuptools wheel
2927
pip install -r requirements.txt
30-
${GITHUB_WORKSPACE}/sl analyze --app flask-webgoat --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --python --cpg --godmodeon .
28+
${GITHUB_WORKSPACE}/sl analyze --app flask-webgoat --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --python --cpg .
3129
env:
3230
SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}
3331

0 commit comments

Comments
 (0)