Skip to content

Commit d699c47

Browse files
committed
Fix all GitHub Actions: Add missing checkout steps before custom actions
- Added 'Checkout code' step before 'Setup Python Environment' in all workflows - Fixed python-style.yml: Added checkout for flake8-lint job - Fixed pylint.yml: Added checkout for build job - Fixed python-test.yml: Added checkout for all 5 jobs (static-analysis, tests, deepagent-test, provider-smoke, providers) - Fixed prompt-evaluation.yml: Added checkout for evaluate job This resolves the 'Can't find action.yml' error that occurs when trying to use local actions (./.github/actions/setup-python-env) without first checking out the repository code. All workflows now properly checkout before using custom actions.
1 parent a7dfe58 commit d699c47

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/prompt-evaluation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
evaluate:
2222
runs-on: ubuntu-latest
2323
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v4
2426
- name: Setup Python Environment
2527
uses: ./.github/actions/setup-python-env
2628
with:

.github/workflows/pylint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
matrix:
1313
python-version: ["3.10", "3.11", "3.12" ]
1414
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
1517
- name: Setup Python Environment
1618
uses: ./.github/actions/setup-python-env
1719
with:

.github/workflows/python-style.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
flake8-lint:
1717
runs-on: ubuntu-latest
1818
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
1921
- name: Setup Python Environment
2022
uses: ./.github/actions/setup-python-env
2123
with:

.github/workflows/python-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
name: Static analysis & unit tests (one python)
2121
runs-on: ubuntu-latest
2222
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v4
2325
- name: Setup Python Environment
2426
uses: ./.github/actions/setup-python-env
2527
with:
@@ -50,6 +52,8 @@ jobs:
5052
matrix:
5153
python-version: [3.11, 3.12]
5254
steps:
55+
- name: Checkout code
56+
uses: actions/checkout@v4
5357
- name: Setup Python Environment
5458
uses: ./.github/actions/setup-python-env
5559
with:
@@ -65,6 +69,8 @@ jobs:
6569
runs-on: ubuntu-latest
6670
needs: tests
6771
steps:
72+
- name: Checkout code
73+
uses: actions/checkout@v4
6874
- name: Setup Python Environment
6975
uses: ./.github/actions/setup-python-env
7076
with:
@@ -80,6 +86,8 @@ jobs:
8086
runs-on: ubuntu-latest
8187
if: github.event_name == 'workflow_dispatch'
8288
steps:
89+
- name: Checkout code
90+
uses: actions/checkout@v4
8391
- name: Setup Python Environment
8492
uses: ./.github/actions/setup-python-env
8593
with:
@@ -102,6 +110,8 @@ jobs:
102110
matrix:
103111
provider: [gemini, openai, ollama]
104112
steps:
113+
- name: Checkout code
114+
uses: actions/checkout@v4
105115
- name: Setup Python Environment
106116
uses: ./.github/actions/setup-python-env
107117
with:

0 commit comments

Comments
 (0)