Skip to content

Commit

Permalink
Modify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scottoffen committed Nov 19, 2024
1 parent d4aa1f3 commit 68ab800
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main-pr-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

# The steps below will run in order for each of strageies defined in the matrix
# The steps below will run in order for each of strategies defined in the matrix
steps:

# Installs the most recent versions of the .NET SDKs
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
# Displays the available .NET SDKs for verification
- name: Display Available .NET SDKs
Expand Down
4 changes: 2 additions & 2 deletions src/Grapeseed/Grapeseed.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<NoWarn>$(NoWarn);NETSDK1138;CS1591;CS1573;CS1711;CS1574;CS1572</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down Expand Up @@ -37,7 +37,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'net5.0'">
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'net5.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="[5.0.0, 6.0.0)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="[5.0.0, 6.0.0)" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Grapevine/Grapevine.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<NoWarn>$(NoWarn);NETSDK1138;CS1591;CS1572</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down Expand Up @@ -45,7 +45,7 @@
<None Include="..\..\grapevine.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'net5.0'">
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'net5.0'">
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="[5.0.0, 6.0.0)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="[5.0.0, 6.0.0)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="[5.0.0, 6.0.0)" />
Expand Down
2 changes: 1 addition & 1 deletion src/Grapevine/HttpContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class HttpContext : IHttpContext
{
public HttpListenerContext Advanced { get; }

public CancellationToken CancellationToken { get; }
public System.Threading.CancellationToken CancellationToken { get; }

public string Id { get; } = Guid.NewGuid().ToString();

Expand Down

0 comments on commit 68ab800

Please sign in to comment.