diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index ca4e8e5..9b7b1c2 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -17,9 +17,9 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.10.16 - run: pip install flake8 - name: Lint with flake8 run: | @@ -45,9 +45,9 @@ jobs: uses: rlespinasse/github-slug-action@v4.x - run: curl https://raw.githubusercontent.com/iterativo-git/dockerdoo/master/.devcontainer/.vscode/oca_pylint.cfg -o oca_pylint.cfg - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.10.16 - run: pip install pylint_odoo - run: | pylint **/*.py --exit-zero --rcfile oca_pylint.cfg --load-plugins pylint_odoo