From 4ac904c241f05a2560e5fa327bb034978138185d Mon Sep 17 00:00:00 2001 From: bosd Date: Fri, 15 Nov 2024 23:18:53 +0100 Subject: [PATCH] Update actions V3 to V4 in workflow --- src/.github/workflows/pre-commit.yml.jinja | 2 +- .../{% if ci == 'GitHub' %}test.yml{% endif %}.jinja | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/.github/workflows/pre-commit.yml.jinja b/src/.github/workflows/pre-commit.yml.jinja index 40aecf0e..9554ede2 100644 --- a/src/.github/workflows/pre-commit.yml.jinja +++ b/src/.github/workflows/pre-commit.yml.jinja @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-22.04 {%- endif %} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v2 {%- if odoo_version < 11 %} with: diff --git a/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja b/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja index fd5fc6ed..0c76f664 100644 --- a/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja +++ b/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest name: Detect unreleased dependencies steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | for reqfile in requirements.txt test-requirements.txt ; do if [ -f ${reqfile} ] ; then @@ -141,7 +141,7 @@ jobs: {%- endfor %} {%- endif %} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Install addons and dependencies