Skip to content

Commit f6d2d6c

Browse files
author
Claude Dev
committed
fix(ci): add explicit checkout before local composite action reference
GitHub Actions needs the repository checked out before it can resolve local action paths (uses: ./.github/...). Add actions/checkout@v6 as the first step in all 4 CI jobs to ensure the .github/actions/ directory is on disk at path-resolution time, fixing CI failures on fork PRs.
1 parent 1122edd commit f6d2d6c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
build-test-lint:
2121
runs-on: ubuntu-latest
2222
steps:
23+
- uses: actions/checkout@v6
24+
2325
- uses: ./.github/actions/setup-go-antlr
2426

2527
- name: Build
@@ -70,6 +72,8 @@ jobs:
7072
fail-fast: false
7173
name: test (Mendix ${{ matrix.mendix-version }})
7274
steps:
75+
- uses: actions/checkout@v6
76+
7377
- uses: ./.github/actions/setup-go-antlr
7478

7579
- name: Build
@@ -91,6 +95,8 @@ jobs:
9195
name: exprcheck round-trip (regression gate)
9296
runs-on: ubuntu-latest
9397
steps:
98+
- uses: actions/checkout@v6
99+
94100
- uses: ./.github/actions/setup-go-antlr
95101

96102
- name: Round-trip exprcheck
@@ -103,6 +109,10 @@ jobs:
103109
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
104110
runs-on: ubuntu-latest
105111
steps:
112+
- uses: actions/checkout@v6
113+
with:
114+
fetch-depth: 0
115+
106116
- uses: ./.github/actions/setup-go-antlr
107117
with:
108118
fetch-depth: 0

0 commit comments

Comments
 (0)