Update codeql.yml

This commit is contained in:
Aravind Nair
2023-03-11 23:00:45 +05:30
committed by GitHub
parent b3918b0774
commit d578767c31

View File

@@ -31,11 +31,24 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Python 3.8 🐍
uses: actions/setup-python@v4
with:
python-version: 3.8
cache: 'pip'
- name: Install dependencies 📥
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
- name: Initialize CodeQL 🧑‍💻
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-and-quality
setup-python-dependencies: false
- name: Perform CodeQL Analysis 📈
uses: github/codeql-action/analyze@v2