diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b029dd8..f565e69 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,4 +13,6 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v2 + with: + python-version: "3.11" - uses: pre-commit/action@v2.0.0 diff --git a/src/.github/workflows/pre-commit.yml.jinja b/src/.github/workflows/pre-commit.yml.jinja index 3824b64..40aecf0 100644 --- a/src/.github/workflows/pre-commit.yml.jinja +++ b/src/.github/workflows/pre-commit.yml.jinja @@ -28,6 +28,9 @@ jobs: {%- elif odoo_version < 14 %} with: python-version: "3.8" +{%- else %} + with: + python-version: "3.11" {%- endif %} - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV