Skip to content

Commit

Permalink
Updated to dotnet 9
Browse files Browse the repository at this point in the history
  • Loading branch information
varndellwagglebee committed Nov 20, 2024
1 parent 5394512 commit 57e20b0
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- develop

env:
DOTNET_VERSION: '8.0.x'
DOTNET_VERSION: '9.0.x'

jobs:
format:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
BRANCH_NAME: ${{ github.event.release.target_commitish }}
SOLUTION_NAME: ${{ vars.SOLUTION_NAME }}
DOTNET_VERSION: '8.0.x'
DOTNET_VERSION: '9.0.x'
NUGET_SOURCE: 'https://api.nuget.org/v3/index.json'
BUILD_CONFIGURATION: ''
VERSION_SUFFIX: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
SOLUTION_NAME: ${{ vars.SOLUTION_NAME }}
DOTNET_VERSION: '8.0.x'
DOTNET_VERSION: '9.0.x'

jobs:
test:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/unlist-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Unlist NuGet

on:
workflow_dispatch:
# release:
# types: [deleted]

env:
BRANCH_NAME: ${{ github.event.release.target_commitish }}
PROJECT_NAME: ${{ vars.PROJECT_NAME }}

jobs:
publish:
name: unlist on nuget
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

# Unlist
- name: Unlist Deleted Tag
uses: darenm/unlist-nuget@v1
with:
NUGET_PACKAGE: ${{ env.PROJECT_NAME }} # Full Package ID
VERSION_REGEX: ${{ github.event.release.tag_name }} # Regex pattern to match version
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key
1 change: 1 addition & 0 deletions Hyperbee.Json.sln
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\publish.yml = .github\workflows\publish.yml
.github\workflows\test-report.yml = .github\workflows\test-report.yml
.github\workflows\test.yml = .github\workflows\test.yml
.github\workflows\unlist-nuget.yml = .github\workflows\unlist-nuget.yml
.github\workflows\update-version.yml = .github\workflows\update-version.yml
EndProjectSection
EndProject
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/nav_footer_custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<footer class="site-footer">
Hyperbee Json Docs
</footer>
</footer>#*
4 changes: 2 additions & 2 deletions src/Hyperbee.Json/Hyperbee.Json.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>true</IsPackable>

Expand All @@ -9,7 +9,7 @@
<PackageTags>json-path;jsonpath;json-pointer;jsonpointer;json-patch;jsonpatch;query;path;patch;diff;json;rfc9535;rfc6901;rfc6902</PackageTags>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://stillpoint-software.github.io/hyperbee.json/</PackageProjectUrl>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net9.0</TargetFrameworks>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Copyright>Stillpoint Software, Inc.</Copyright>
<Title>Hyperbee Json</Title>
Expand Down
8 changes: 4 additions & 4 deletions test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand All @@ -14,11 +14,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="JsonCons.JsonPath" Version="1.1.0" />
<PackageReference Include="JsonPatch.Net" Version="3.1.1" />
<PackageReference Include="JsonPath.Net" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="8.0.7" />
<PackageReference Include="JsonPath.Net" Version="1.1.6" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="9.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -14,9 +14,9 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.3" />
</ItemGroup>

<ItemGroup>
Expand Down
12 changes: 6 additions & 6 deletions test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<IsPackable>false</IsPackable>
<RootNamespace>Hyperbee.Json.Tests</RootNamespace>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="TestSupport\Json\BookStore.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.0" />
<PackageReference Include="YamlDotNet" Version="16.0.0" />
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.3" />
<PackageReference Include="YamlDotNet" Version="16.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Hyperbee.Json\Hyperbee.Json.csproj" />
Expand Down

0 comments on commit 57e20b0

Please sign in to comment.