Skip to content

Commit

Permalink
Merge pull request #214 from em230418/patch-1
Browse files Browse the repository at this point in the history
[FIX] github pre-commit action: pin python version to 3.11
  • Loading branch information
sbidoul authored Oct 27, 2023
2 parents 41a1360 + df2f469 commit 4fc2d4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.11"
- uses: pre-commit/[email protected]
3 changes: 3 additions & 0 deletions src/.github/workflows/pre-commit.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fc2d4a

Please sign in to comment.