From 9c33b7d22b81a5914356ef50f47554373ece9737 Mon Sep 17 00:00:00 2001 From: Jan Michalski Date: Mon, 11 Mar 2024 12:15:19 -0400 Subject: [PATCH] common: update actions/checkout to v4 It seems the only thing changed between v3 and v4 is node20. v4.1.1 has been used in our ci before. It was unified to directly use v4 which will make our life easier since we would not need to update these workflows till v5. Ref: https://github.com/actions/checkout/releases/tag/v4.0.0 Signed-off-by: Jan Michalski --- .github/workflows/docker_rebuild.yml | 2 +- .github/workflows/main.yml | 4 ++-- .github/workflows/nightly.yml | 4 ++-- .github/workflows/pmem.io_doc_update.yml | 2 +- .github/workflows/pmem_ras.yml | 2 +- .github/workflows/pmem_test_matrix.yml | 2 +- .github/workflows/pmem_tests.yml | 6 +++--- .github/workflows/scan_bandit.yml | 2 +- .github/workflows/scan_codeql.yml | 2 +- .github/workflows/scan_coverage.yml | 2 +- .github/workflows/scan_coverity.yml | 2 +- .github/workflows/scan_documentation.yml | 2 +- .github/workflows/scan_log_calls.yml | 2 +- .github/workflows/scan_stack_usage.yml | 2 +- .github/workflows/scan_ubsan.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docker_rebuild.yml b/.github/workflows/docker_rebuild.yml index 6d0444f2d75..dd740fef3d2 100644 --- a/.github/workflows/docker_rebuild.yml +++ b/.github/workflows/docker_rebuild.yml @@ -37,7 +37,7 @@ jobs: - {OS: ubuntu, OS_VER: 22.04} steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Rebuild the image env: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3460bcc149a..0cfb74cc9e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: issues: read steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # required for `make check-license` to work properly fetch-depth: 50 @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: sudo apt-get -y install pandoc diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index dc846995648..b2b43cef8b1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -35,7 +35,7 @@ jobs: TEST_BUILD: [debug, nondebug] steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 @@ -66,7 +66,7 @@ jobs: ] steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 diff --git a/.github/workflows/pmem.io_doc_update.yml b/.github/workflows/pmem.io_doc_update.yml index 8dce6d866ad..147bfabd3f2 100644 --- a/.github/workflows/pmem.io_doc_update.yml +++ b/.github/workflows/pmem.io_doc_update.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: sudo apt-get install libndctl-dev libdaxctl-dev pandoc diff --git a/.github/workflows/pmem_ras.yml b/.github/workflows/pmem_ras.yml index 703f48278b9..9a041e24a54 100644 --- a/.github/workflows/pmem_ras.yml +++ b/.github/workflows/pmem_ras.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Variables, such as $ras_runner are hidden on the controller platform as environmental variables. # 'sed' command is used to filter out IP addresses from the ansible output, it will show up as the 'ras_runner' instead. diff --git a/.github/workflows/pmem_test_matrix.yml b/.github/workflows/pmem_test_matrix.yml index e4b9d47cbe8..ccb032b74c4 100644 --- a/.github/workflows/pmem_test_matrix.yml +++ b/.github/workflows/pmem_test_matrix.yml @@ -29,7 +29,7 @@ jobs: build: [debug, nondebug] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test prepare uses: ./.github/actions/pmem_test_prepare diff --git a/.github/workflows/pmem_tests.yml b/.github/workflows/pmem_tests.yml index a2857e91b19..36899997ea8 100644 --- a/.github/workflows/pmem_tests.yml +++ b/.github/workflows/pmem_tests.yml @@ -48,7 +48,7 @@ jobs: build: [static_debug, static_nondebug] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test prepare uses: ./.github/actions/pmem_test_prepare @@ -67,7 +67,7 @@ jobs: runs-on: [self-hosted, rhel] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test prepare uses: ./.github/actions/pmem_test_prepare @@ -90,7 +90,7 @@ jobs: runs-on: [self-hosted, rhel] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test prepare uses: ./.github/actions/pmem_test_prepare diff --git a/.github/workflows/scan_bandit.yml b/.github/workflows/scan_bandit.yml index d803661a766..ead974e30fa 100644 --- a/.github/workflows/scan_bandit.yml +++ b/.github/workflows/scan_bandit.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Bandit run: sudo apt-get -y install bandit diff --git a/.github/workflows/scan_codeql.yml b/.github/workflows/scan_codeql.yml index c45a4e70bfa..fc3c7183dcc 100644 --- a/.github/workflows/scan_codeql.yml +++ b/.github/workflows/scan_codeql.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pmem/valgrind (including dependencies) run: | diff --git a/.github/workflows/scan_coverage.yml b/.github/workflows/scan_coverage.yml index 20de43538b6..521c0fd8cb1 100644 --- a/.github/workflows/scan_coverage.yml +++ b/.github/workflows/scan_coverage.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Pull the image run: cd $WORKDIR && ./pull-or-rebuild-image.sh diff --git a/.github/workflows/scan_coverity.yml b/.github/workflows/scan_coverity.yml index c87f5f7076e..4c1c5703046 100644 --- a/.github/workflows/scan_coverity.yml +++ b/.github/workflows/scan_coverity.yml @@ -30,7 +30,7 @@ jobs: CONFIG: ["OS=ubuntu OS_VER=22.04"] steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Pull or rebuild the image run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh diff --git a/.github/workflows/scan_documentation.yml b/.github/workflows/scan_documentation.yml index d35231c489e..16c4993ea4d 100644 --- a/.github/workflows/scan_documentation.yml +++ b/.github/workflows/scan_documentation.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | diff --git a/.github/workflows/scan_log_calls.yml b/.github/workflows/scan_log_calls.yml index dde2334ff35..406ce1275a5 100644 --- a/.github/workflows/scan_log_calls.yml +++ b/.github/workflows/scan_log_calls.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the git repo - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Generate log calls' diff working-directory: ${{ env.WORKING_DIRECTORY }} diff --git a/.github/workflows/scan_stack_usage.yml b/.github/workflows/scan_stack_usage.yml index 09d882fc3ed..e133b31ce44 100644 --- a/.github/workflows/scan_stack_usage.yml +++ b/.github/workflows/scan_stack_usage.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: pmdk diff --git a/.github/workflows/scan_ubsan.yml b/.github/workflows/scan_ubsan.yml index 2c8427f222b..3693783ca22 100644 --- a/.github/workflows/scan_ubsan.yml +++ b/.github/workflows/scan_ubsan.yml @@ -28,7 +28,7 @@ jobs: build: ['debug', 'nondebug'] steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Pull the image run: cd $WORKDIR && ./pull-or-rebuild-image.sh diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index d92ac089b9c..7874483f567 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -27,7 +27,7 @@ jobs: TEST_BUILD: ['debug', 'nondebug'] steps: - name: Clone the git repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50