Skip to content

Commit

Permalink
Fixed CI workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbuck committed Jun 13, 2024
1 parent bed9f2d commit e5d2850
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Restore tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Restore tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
#endif

// Add the marker attribute to the compilation
context.RegisterPostInitializationOutput(ctx => ctx.AddSource("UseDelegateServiceSceneExtensions.g.cs", GetUseDelegateServiceExtensions()));
context.RegisterPostInitializationOutput(ctx => ctx.AddSource("UseDelegateServiceSceneExtensions.g.cs", _getUseDelegateServiceExtensions()));
}

private static SourceText GetUseDelegateServiceExtensions()
private static SourceText _getUseDelegateServiceExtensions()
{
var source = new SourceWriter();
source.WriteLine("using Microsoft.Extensions.DependencyInjection;");
Expand Down

0 comments on commit e5d2850

Please sign in to comment.