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:
@@ -24,10 +24,7 @@ jobs:
|
|||||||
- security # Security suite
|
- security # Security suite
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
# Repository is automatically cloned by Gitea Actions
|
||||||
run: |
|
|
||||||
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
||||||
git checkout $GITHUB_SHA
|
|
||||||
|
|
||||||
# Configure Attic binary cache
|
# Configure Attic binary cache
|
||||||
- name: Configure Attic cache
|
- name: Configure Attic cache
|
||||||
@@ -54,10 +51,7 @@ jobs:
|
|||||||
runs-on: nix
|
runs-on: nix
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
# Repository is automatically cloned by Gitea Actions
|
||||||
run: |
|
|
||||||
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
||||||
git checkout $GITHUB_SHA
|
|
||||||
|
|
||||||
# Configure Attic cache
|
# Configure Attic cache
|
||||||
- name: Configure Attic cache
|
- name: Configure Attic cache
|
||||||
@@ -92,10 +86,7 @@ jobs:
|
|||||||
runs-on: nix
|
runs-on: nix
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
# Repository is automatically cloned by Gitea Actions
|
||||||
run: |
|
|
||||||
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
||||||
git checkout $GITHUB_SHA
|
|
||||||
|
|
||||||
# Configure Attic cache
|
# Configure Attic cache
|
||||||
- name: Configure Attic cache
|
- name: Configure Attic cache
|
||||||
@@ -126,10 +117,7 @@ jobs:
|
|||||||
runs-on: nix
|
runs-on: nix
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
# Repository is automatically cloned by Gitea Actions
|
||||||
run: |
|
|
||||||
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
||||||
git checkout $GITHUB_SHA
|
|
||||||
|
|
||||||
# Configure Attic cache
|
# Configure Attic cache
|
||||||
- name: Configure Attic cache
|
- name: Configure Attic cache
|
||||||
|
|||||||
Reference in New Issue
Block a user