diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 82d149e..3794662 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -9,17 +9,17 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: "3.9" - name: Cache Pip - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-${{ github.job }}-pip-${{ github.sha }} restore-keys: | - ${{ runner.os }}-${{ github.job }}-pip- + ${{ runner.os }}-${{ github.job }}-pip- - name: Install python libraries - run : | + run: | python3 -m pip install --upgrade pip python3 -m pip install flake8 flake8-bugbear - name: Run python linting - run : python3 -m flake8 + run: python3 -m flake8