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.

This commit is contained in:
Danilo Reyes
2025-11-01 23:13:59 -06:00
parent 136fa200ec
commit 6d3eaf16f9

View File

@@ -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