Update .gitea/workflows/analyze.yml

This commit is contained in:
2026-02-03 23:11:58 +01:00
Unverified
parent e0c7f106d4
commit 9e2b249e5f

View File

@@ -15,19 +15,18 @@ on:
jobs: jobs:
analyze: analyze:
name: Analyze code
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Go to app directory - name: Set up Python
run: cd cdl_downloader uses: actions/setup-python@v6
- name: Set up Python with:
uses: actions/setup-python@v6 python-version: "3.10"
with: - name: Install dependencies
python-version: "3.10" run: |
- name: Install dependencies python -m pip install --upgrade pip
run: | pip install -r cdl_downloader/requirements.txt
python -m pip install --upgrade pip pip install pylint
pip install -r requirements.txt - name: Analysing the code with pylint
pip install pylint run: pylint --exit-zero $(git ls-files 'cdl_downloader/*.py')
- name: Analysing the code with pylint
run: pylint --exit-zero $(git ls-files '*.py')