name: Linting on: push jobs: black: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: psf/black@stable pylint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.10 uses: actions/setup-python@v3 with: python-version: '3.10' - name: Install dependencies run: | pip install poetry poetry install - name: Analysing the code with pylint run: poetry run pylint --rcfile=.pylintrc itchiodl/