From 3c0665c829c8efe826adc4464c4cfc0bd3422fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= Date: Sun, 1 Sep 2024 19:03:38 +0200 Subject: [PATCH] ci: Bump actions/checkout to v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use action/checkout@v4 and fix fetch-depth for landlock-test-tools. See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ Signed-off-by: Mickaël Salaün --- .github/workflows/rust.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 79829396..7e485e6c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -56,15 +56,14 @@ jobs: LANDLOCK_CRATE_TEST_ABI: 3 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ matrix.commit }} - name: Clone Landlock test tools - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: landlock-lsm/landlock-test-tools - fetch-depth: 0 ref: ${{ env.LANDLOCK_TEST_TOOLS_COMMIT }} path: landlock-test-tools @@ -107,7 +106,7 @@ jobs: rustup component add rustfmt clippy rustup update - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ matrix.commit }} @@ -142,15 +141,14 @@ jobs: CARGO: rustup run stable cargo steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ matrix.commit }} - name: Clone Landlock test tools - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: landlock-lsm/landlock-test-tools - fetch-depth: 0 ref: ${{ env.LANDLOCK_TEST_TOOLS_COMMIT }} path: landlock-test-tools