From 52b0bc2ded439d992c4929ce1c85016639295c35 Mon Sep 17 00:00:00 2001 From: ivan-pcg Date: Tue, 31 Dec 2024 15:01:08 -0400 Subject: [PATCH] fix(linting.yaml):updating parameters --- .github/workflows/linting.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 3995f9514..492958e34 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.10.16 - run: pip install flake8 - name: Lint with flake8 run: | @@ -38,15 +38,15 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Inject slug/short variables 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 \ No newline at end of file