https://dev.kronoz.win/r/marzneshin.git
1name: Pylint
2
3on: [push]
4
5jobs:
6 build:
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v3
10 - name: Set up Python 3.11.2
11 uses: actions/setup-python@v3
12 with:
13 python-version: 3.11.2
14
15 - name: Install dependencies
16 run: |
17 python -m pip install --upgrade pip
18 pip install pylint
19 pip install -r requirements.txt
20
21 - name: Lint with pylint
22 run: |
23 pylint --exit-zero "$(git ls-files '*.py')"