Skip to content

Commit 70c2096

Browse files
committed
use pip in codacy.yml at .github/workflows
1 parent d493208 commit 70c2096

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.codacy.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/codacy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ jobs:
3838
- name: Checkout code
3939
uses: actions/checkout@v3
4040

41+
# Set up Python
42+
- name: Set up Python
43+
uses: actions/setup-python@v4
44+
with:
45+
python-version: '3.x'
46+
47+
# Install dependencies
48+
- name: Install dependencies
49+
run: |
50+
python -m pip install --upgrade pip
51+
pip install -r requirements.txt
52+
4153
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
4254
- name: Run Codacy Analysis CLI
4355
uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b

0 commit comments

Comments
 (0)