Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 4e5c81e

Browse files
committed
feat: Added support to .NET7 and .NET8
1 parent f58e4bb commit 4e5c81e

File tree

8 files changed

+20
-23
lines changed

8 files changed

+20
-23
lines changed

.github/workflows/mutation-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ on:
1818

1919

2020
env:
21-
SDK_VERSION: '7.0.407'
22-
FRAMEWORK_VERSION: 'net7.0'
21+
SDK_VERSION: '8.0.401'
22+
FRAMEWORK_VERSION: 'net8.0'
2323

2424
GIT_ORGANIZATION: 'TechNobre'
2525
PROJECT_NAME: 'PowerUtils.Net.Primitives'

.github/workflows/nuget-vulnerabilites.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616

1717
env:
18-
SDK_VERSION: '7.0.407'
18+
SDK_VERSION: '8.0.401'
1919

2020

2121
jobs:

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616

1717
env:
18-
SDK_VERSION: '7.0.407'
18+
SDK_VERSION: '8.0.401'
1919

2020

2121
jobs:

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212

1313
env:
14+
SDK_VERSION_8: '8.0.401'
1415
SDK_VERSION_7: '7.0.407'
1516
SDK_VERSION_6: '6.0.420'
1617
SDK_VERSION_5: '5.0.408'
@@ -34,9 +35,10 @@ jobs:
3435
uses: actions/checkout@v4
3536

3637
- name: "Setup .NET"
37-
uses: actions/setup-dotnet@v4
38+
uses: actions/setup-dotnet@v4.0.1
3839
with:
3940
dotnet-version: |
41+
${{ env.SDK_VERSION_8 }}
4042
${{ env.SDK_VERSION_7 }}
4143
${{ env.SDK_VERSION_6 }}
4244
${{ env.SDK_VERSION_5 }}
@@ -52,7 +54,7 @@ jobs:
5254
run: dotnet test --configuration Release --no-build --verbosity normal --results-directory ${{ env.TEST_RESULTS_DIRECTORY }} --collect:"XPlat Code Coverage"
5355

5456
- name: "Combine Coverage Reports" # This is because one report is produced per project, and we want one result for all of them.
55-
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.9
57+
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.10
5658
with:
5759
reports: "**/*.cobertura.xml" # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
5860
targetdir: "${{ github.workspace }}" # REQUIRED # The directory where the generated report should be saved.

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,18 @@
1717
[![License: MIT](https://img.shields.io/github/license/TechNobre/PowerUtils.Net.Primitives.svg)](https://github.com/TechNobre/PowerUtils.Net.Primitives/blob/main/LICENSE)
1818

1919

20-
- [Support](#support-to)
21-
- [How to use](#how-to-use)
22-
- [Install NuGet package](#Installation)
23-
- [Helpers](#Helpers)
24-
- [ExtendedMediaTypeNames](#ExtendedMediaTypeNames)
25-
- [StatusCodeLink](#StatusCodeLink)
26-
- [Contribution](#contribution)
27-
- [License](./LICENSE)
28-
- [Changelog](./CHANGELOG.md)
20+
- [Support to ](#support-to-)
21+
- [How to use ](#how-to-use-)
22+
- [Install NuGet package ](#install-nuget-package-)
23+
- [Helpers ](#helpers-)
24+
- [ExtendedMediaTypeNames ](#extendedmediatypenames-)
25+
- [StatusCodeLink ](#statuscodelink-)
26+
- [Contribution ](#contribution-)
2927

3028

3129

3230
## Support to <a name="support-to"></a>
31+
- .NET 8.0
3332
- .NET 7.0
3433
- .NET 6.0
3534
- .NET 5.0
@@ -113,4 +112,4 @@ dotnet add package PowerUtils.Net.Primitives
113112

114113
## Contribution <a name="contribution"></a>
115114

116-
If you have any questions, comments, or suggestions, please open an [issue](https://github.com/TechNobre/PowerUtils.Net.Primitives/issues/new/choose) or create a [pull request](https://github.com/TechNobre/PowerUtils.Net.Primitives/compare)
115+
If you have any questions, comments, or suggestions, please open an [issue](https://github.com/TechNobre/PowerUtils.Net.Primitives/issues/new/choose) or create a [pull request](https://github.com/TechNobre/PowerUtils.Net.Primitives/compare)

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "7.0.407"
3+
"version": "8.0.401"
44
}
55
}

src/PowerUtils.Net.Primitives.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<!-- Assembly details -->
43
<PropertyGroup>
54
<ProjectGuid>e6177b22-b10a-4481-bf48-5daaf33a1611</ProjectGuid>
65

7-
<!-- Assembly and projecto details -->
8-
<!-- https://docs.microsoft.com/en-us/dotnet/standard/frameworks -->
9-
<TargetFrameworks>net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
10-
6+
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
117

128
<RootNamespace>PowerUtils.Net</RootNamespace>
139
<AssemblyName>PowerUtils.Net.Primitives</AssemblyName>

tests/PowerUtils.Net.Primitives.Tests/PowerUtils.Net.Primitives.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
55

66
<RootNamespace>PowerUtils.Net.Primitives.Tests</RootNamespace>
77
<AssemblyName>PowerUtils.Net.Primitives.Tests</AssemblyName>

0 commit comments

Comments
 (0)