From db55df857c56648096d520ada6fdc7e95a65b7ea Mon Sep 17 00:00:00 2001 From: bosd Date: Fri, 15 Nov 2024 23:22:14 +0100 Subject: [PATCH] Update setup-python to v4 To silence the warning message: The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ --- src/.github/workflows/pre-commit.yml.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.github/workflows/pre-commit.yml.jinja b/src/.github/workflows/pre-commit.yml.jinja index 9554ede..b9c78b4 100644 --- a/src/.github/workflows/pre-commit.yml.jinja +++ b/src/.github/workflows/pre-commit.yml.jinja @@ -18,7 +18,7 @@ jobs: {%- endif %} steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 {%- if odoo_version < 11 %} with: python-version: "2.7"