From 6d3eaf16f9ad7230628baa6e4ddadab8f0b88e7e Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sat, 1 Nov 2025 23:13:59 -0600 Subject: [PATCH] Remove redundant code checkout steps in CI configuration, as Gitea Actions now automatically handles repository cloning. This update simplifies the workflow and enhances clarity in job steps. --- .gitea/workflows/ci.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 267bc41..53ff2c1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,10 +24,7 @@ jobs: - security # Security suite steps: - - name: Checkout code - run: | - git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - git checkout $GITHUB_SHA + # Repository is automatically cloned by Gitea Actions # Configure Attic binary cache - name: Configure Attic cache @@ -54,10 +51,7 @@ jobs: runs-on: nix steps: - - name: Checkout code - run: | - git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - git checkout $GITHUB_SHA + # Repository is automatically cloned by Gitea Actions # Configure Attic cache - name: Configure Attic cache @@ -92,10 +86,7 @@ jobs: runs-on: nix steps: - - name: Checkout code - run: | - git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - git checkout $GITHUB_SHA + # Repository is automatically cloned by Gitea Actions # Configure Attic cache - name: Configure Attic cache @@ -126,10 +117,7 @@ jobs: runs-on: nix steps: - - name: Checkout code - run: | - git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - git checkout $GITHUB_SHA + # Repository is automatically cloned by Gitea Actions # Configure Attic cache - name: Configure Attic cache