Skip to content

Commit 34abf6d

Browse files
natemcmasterclaude
andcommitted
chore: fix composite action checkout ordering
Move checkout out of the composite action and back into each workflow. GitHub needs the repo checked out before it can find local action definitions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7b9a218 commit 34abf6d

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.github/actions/setup-dotnet/action.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
name: Setup .NET
2-
description: Checkout the repository and install .NET SDK versions used by this project
3-
4-
inputs:
5-
fetch-depth:
6-
description: Number of commits to fetch (0 for full history)
7-
default: "1"
2+
description: Install .NET SDK versions used by this project
83

94
runs:
105
using: composite
116
steps:
12-
- uses: actions/checkout@v6
13-
with:
14-
fetch-depth: ${{ inputs.fetch-depth }}
157
- name: Setup .NET
168
uses: actions/setup-dotnet@v5
179
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
package_version: ${{ steps.build_script.outputs.package_version }}
3434

3535
steps:
36+
- uses: actions/checkout@v6
3637
- uses: ./.github/actions/setup-dotnet
3738
- name: Run build script
3839
id: build_script

.github/workflows/claude.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
id-token: write
3232
actions: read # Required for Claude to read CI results on PRs
3333
steps:
34+
- uses: actions/checkout@v6
3435
- uses: ./.github/actions/setup-dotnet
3536

3637
- name: Run Claude Code

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23+
- uses: actions/checkout@v6
2324
- uses: ./.github/actions/setup-dotnet
2425
- name: Run docs generation
2526
run: ./docs/generate.ps1

0 commit comments

Comments
 (0)