From 9e6b7a18102c41406490778fcd4606fde0e002ec Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 28 Feb 2024 15:19:12 +0100 Subject: [PATCH] Update GitHub checkout action to latest version This fixes lots of warnings like this one: The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ Signed-off-by: Stefan Weil --- .github/workflows/abi_check.yml | 2 +- .github/workflows/build.yml | 12 ++++++------ .github/workflows/code_style.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/abi_check.yml b/.github/workflows/abi_check.yml index bb0162dc9..692cc4c30 100644 --- a/.github/workflows/abi_check.yml +++ b/.github/workflows/abi_check.yml @@ -8,7 +8,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Requirements run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5d3f68c4..b65d3d6d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Requirements run: | @@ -38,7 +38,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Requirements run: | @@ -60,7 +60,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Requirements run: | @@ -85,7 +85,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Requirements run: | @@ -108,7 +108,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build and run tests run: | @@ -160,7 +160,7 @@ jobs: git config --system core.longpaths true - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set compiler environment shell: cmd diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index bd09e5e8b..4d5db3068 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -8,7 +8,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0