commit b420d7e: [Test] Use actions/checkout

Andrew Lewis nerf at judo.za.org
Mon Jul 29 17:54:18 UTC 2024


Author: Andrew Lewis
Date: 2024-03-15 15:28:28 +0200
URL: https://github.com/rspamd/rspamd/commit/b420d7e56133eebe771ba10025b27bddef7bf661 (refs/pull/4874/head)

[Test] Use actions/checkout

---
 .github/workflows/ci_rspamd.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci_rspamd.yml b/.github/workflows/ci_rspamd.yml
index 8d70a5759..59a6b4832 100644
--- a/.github/workflows/ci_rspamd.yml
+++ b/.github/workflows/ci_rspamd.yml
@@ -26,10 +26,8 @@ jobs:
           sudo mkdir -p ${GITHUB_WORKSPACE}
           sudo chown -R build:build ${GITHUB_WORKSPACE}
 
-      - name: Check out the repo
-        run: |
-          cd ${GITHUB_WORKSPACE}
-          git clone ${{ github.server_url }}/${{ github.repository }} --branch ${{ github.ref_name }} --single-branch src
+      - name: Check out source code
+        uses: actions/checkout at v4
 
       - name: Set variables on ARM64
         if: runner.arch == 'ARM64'


More information about the Commits mailing list