From d8f02ac2255fc12fd9644c491654a041416052a9 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 26 May 2023 14:00:46 +0200 Subject: [PATCH] Uses actions/checkout --- .github/workflows/ci.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d3316cad..932955f91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,17 +83,7 @@ jobs: image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:36" steps: - name: Checkout code - shell: python - run: | - from subprocess import check_call - from os import environ - command = [ - 'git', 'clone', - 'https://github.com/${{github.repository}}', - '--depth=1', - '--branch', '${{ github.head_ref || github.ref_name }}' - ] - check_call(command, cwd=environ['HOME']) + uses: actions/checkout@v3 - name: Install deps shell: bash run: |