diff --git a/.github/workflows/python-linter.yml b/.github/workflows/python-linter.yml index dc09e6c..73bfeec 100644 --- a/.github/workflows/python-linter.yml +++ b/.github/workflows/python-linter.yml @@ -1,7 +1,7 @@ name: python-linter-check on: push: - branches: [main, master] + branches: [ main ] pull_request: workflow_dispatch: jobs: @@ -14,11 +14,11 @@ jobs: - name: Setup python uses: actions/setup-python@v3 with: - python-version: 3.6 + python-version: 3.12.1 - name: Install depenencies run: | - python -m pip install --upgrade pip + python -m pip3 install --upgrade pip pip install flake8 pip install pylint if [ -f requirements.txt ]; then pip install -r requirements.txt; fi