Skip to content

Commit 7e0e562

Browse files
committed
Refines build workflow and agent configuration
Updates the `dotnet test` command in the build workflow to explicitly use the `--project` flag, improving command reliability. Also, corrects the configuration key from `target` to `applyTo` in the source generator documentation agent. Fixes #406
1 parent 37d9d08 commit 7e0e562

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/agents/source-generator-docs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
description: Helps create comprehensive documentation for Moq.AutoMocker source generators
3-
4-
target: 'docs/SourceGenerators/**'
3+
applyTo: 'docs/SourceGenerators/**'
54
---
65

76
# Source Generator Documentation Agent

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
7979
<# Build and run the disable tests using the local NuGet package #>
8080
<# The test project's NuGet.config points to ../../nupkgs relative to the project #>
81-
dotnet test ./GeneratorTests/Moq.AutoMock.Generator.DisableTests/Moq.AutoMock.Generator.DisableTests.csproj `
81+
dotnet test --project ./GeneratorTests/Moq.AutoMock.Generator.DisableTests/Moq.AutoMock.Generator.DisableTests.csproj `
8282
--configuration Release `
8383
--verbosity normal `
8484
/p:LocalNuGetSource=true

0 commit comments

Comments
 (0)