chore: refactor CI workflow to streamline code checkout process

- Removed the code checkout step from the custom setup action and added it directly in the CI workflow steps for better clarity and control.
- This change ensures that the code is checked out before the build environment is set up, improving the overall workflow execution.

Benefits:
- Enhances the CI process by making the code checkout explicit and easier to manage within the workflow.
This commit is contained in:
scawful
2025-10-31 20:28:22 -04:00
parent 91b3c9ede9
commit c4cf5e918f
2 changed files with 10 additions and 5 deletions

View File

@@ -15,11 +15,6 @@ inputs:
runs:
using: 'composite'
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup CPM cache
if: inputs.cache-key != ''
uses: actions/cache@v4

View File

@@ -64,6 +64,11 @@ jobs:
preset: ci
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup build environment
uses: ./.github/actions/setup-build
with:
@@ -113,6 +118,11 @@ jobs:
preset: ci
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup build environment
uses: ./.github/actions/setup-build
with: