Skip to content

Commit e5ab0ab

Browse files
Revert to Python 3.11 for Prospector scan
1 parent 04cf38d commit e5ab0ab

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/python.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: checkout
1515
uses: actions/checkout@v4
1616

17-
- name: Set up Python 3.12
18-
uses: actions/setup-python@v5
17+
- name: Set up Python 3.11 # update to 3.12 once Prospector includes Pylint v3.x
18+
uses: actions/setup-python@v5 # update to 3.12 once Prospector includes Pylint v3.x
1919
with:
20-
python-version: "3.12"
20+
python-version: "3.11"
2121

2222
- name: Display Python version
2323
run: python -c "import sys; print(sys.version)"
@@ -32,10 +32,7 @@ jobs:
3232
3333
- name: Prospector
3434
run: |
35-
prospector tests
36-
37-
# don't use pylint until prospector supports pylint 3.x, required for Python 3.12
38-
prospector modules/terraform-aws-ca-lambda --without-tool pylint
35+
prospector
3936
4037
- name: prepare reports dir
4138
run: mkdir --parents ${{runner.temp}}/reports_sast_python/

0 commit comments

Comments
 (0)