From b1ec10623b1cd186a471507dc05e410eac6a0525 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 14 Feb 2024 14:17:58 -0800 Subject: [PATCH] .github/workflows: Use the latest checkout action Fix the following warning: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. Signed-off-by: Bart Van Assche --- .github/workflows/checkpatch_pull.yml | 2 +- .github/workflows/checkpatch_push.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/coverity.yml | 2 +- .github/workflows/mail_notification.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/checkpatch_pull.yml b/.github/workflows/checkpatch_pull.yml index a9ced9892..b19aa58e5 100644 --- a/.github/workflows/checkpatch_pull.yml +++ b/.github/workflows/checkpatch_pull.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: ref: ${{github.event.pull_request.head.sha}} fetch-depth: 0 diff --git a/.github/workflows/checkpatch_push.yml b/.github/workflows/checkpatch_push.yml index 28acad5e5..12b692470 100644 --- a/.github/workflows/checkpatch_push.yml +++ b/.github/workflows/checkpatch_push.yml @@ -15,7 +15,7 @@ jobs: commit: ${{github.event.commits}} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: ref: ${{matrix.commit.id}} fetch-depth: 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d878d895..02bd99829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: compiler: [gcc, clang] arch: [x86_64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@main - name: Install build-essential run: | sudo apt-get update diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index ebdc75fbb..c6465da9c 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Project - uses: actions/checkout@v3 + uses: actions/checkout@main - name: Get version id: get_version diff --git a/.github/workflows/mail_notification.yml b/.github/workflows/mail_notification.yml index ac75e71b2..9d585a231 100644 --- a/.github/workflows/mail_notification.yml +++ b/.github/workflows/mail_notification.yml @@ -17,7 +17,7 @@ jobs: commit: ${{github.event.commits}} steps: - name: Checkout Project - uses: actions/checkout@v3 + uses: actions/checkout@main with: ref: ${{matrix.commit.id}} fetch-depth: 2