Skip to content

Commit eb013ef

Browse files
authored
.NET 8 update
1 parent ef77a73 commit eb013ef

File tree

7 files changed

+47
-110
lines changed

7 files changed

+47
-110
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/dotnet-core.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,40 @@ jobs:
1515
os: [ ubuntu-latest, windows-latest, macos-latest ]
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Setup .NET Core 7.0
20-
uses: actions/setup-dotnet@v1
21-
with:
22-
dotnet-version: '7.0.x'
23-
- name: Install dependencies
24-
run: dotnet restore
25-
- name: Build
26-
run: dotnet build --configuration Release --no-restore
27-
- name: Test
28-
run: dotnet test --no-restore --verbosity normal
29-
- name: Upload a Build Artifact
30-
uses: actions/upload-artifact@v2.2.0
31-
with:
32-
# Artifact name
33-
name: qatoolkit-auth-net.zip
34-
# A file, directory or wildcard pattern that describes what to upload
35-
path: src/QAToolKit.Auth/bin/
18+
- uses: actions/checkout@v4.1.1
19+
- name: Setup .NET Core 8.0
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: '8.0.x'
23+
- name: Install dependencies
24+
run: dotnet restore
25+
- name: Build
26+
run: dotnet build --configuration Release --no-restore
27+
- name: Test
28+
run: dotnet test --no-restore --verbosity normal
29+
- name: Upload a Build Artifact
30+
uses: actions/upload-artifact@v4.3.1
31+
with:
32+
# Artifact name
33+
name: qatoolkit-auth-net-${{ matrix.os }}.zip
34+
# A file, directory or wildcard pattern that describes what to upload
35+
path: src/QAToolKit.Auth/bin/
3636
deploy:
3737
name: Pack and Push Nuget
3838
needs: build
3939
if: github.event_name == 'release'
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v2
43-
- name: Setup .NET Core 7.0
44-
uses: actions/setup-dotnet@v1
45-
with:
46-
dotnet-version: '7.0.x'
47-
- name: Pack NuGet
48-
uses: brandedoutcast/[email protected]
49-
with:
50-
# Filepath of the project to be packaged, relative to root of repository
51-
PROJECT_FILE_PATH: src/QAToolKit.Auth/QAToolKit.Auth.csproj
52-
VERSION_FILE_PATH: Directory.Build.props
53-
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
54-
TAG_COMMIT: true
42+
- uses: actions/checkout@v4.1.1
43+
- name: Setup .NET Core 8.0
44+
uses: actions/setup-dotnet@v4
45+
with:
46+
dotnet-version: '8.0.x'
47+
- name: Pack NuGet
48+
uses: brandedoutcast/[email protected]
49+
with:
50+
# Filepath of the project to be packaged, relative to root of repository
51+
PROJECT_FILE_PATH: src/QAToolKit.Auth/QAToolKit.Auth.csproj
52+
VERSION_FILE_PATH: Directory.Build.props
53+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
54+
TAG_COMMIT: true

.github/workflows/sonarqube-analysis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>0.2.9</Version>
3+
<Version>0.2.10</Version>
44
</PropertyGroup>
55
</Project>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Currently it supports next Identity providers and Oauth2 flows:
1919
- [client credentials flow](https://identityserver4.readthedocs.io/en/latest/quickstarts/1_client_credentials.html)
2020
- [resource owner password]()
2121

22-
Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net7.0`.
22+
Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net8.0`.
2323

2424
Get in touch with me on:
2525

@@ -178,7 +178,7 @@ var token = await auth.GetAccessToken();
178178

179179
MIT License
180180

181-
Copyright (c) 2020-2023 Miha Jakovac
181+
Copyright (c) 2020-2024 Miha Jakovac
182182

183183
Permission is hereby granted, free of charge, to any person obtaining a copy
184184
of this software and associated documentation files (the "Software"), to deal

src/QAToolKit.Auth.Test/QAToolKit.Auth.Test.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
10+
<PackageReference Include="coverlet.msbuild" Version="6.0.1">
1111
<PrivateAssets>all</PrivateAssets>
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
</PackageReference>
14-
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
15-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
16-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
17-
<PackageReference Include="NSubstitute" Version="4.4.0" />
18-
<PackageReference Include="xunit" Version="2.4.2" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
14+
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
15+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
16+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
17+
<PackageReference Include="NSubstitute" Version="5.1.0" />
18+
<PackageReference Include="xunit" Version="2.7.0" />
19+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>
23-
<PackageReference Include="coverlet.collector" Version="3.2.0">
23+
<PackageReference Include="coverlet.collector" Version="6.0.1">
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
</PackageReference>

src/QAToolKit.Auth/QAToolKit.Auth.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<LangVersion>latest</LangVersion>
77
<ProjectGuid>120c5172-ddca-442c-bfab-2101519f6f2d</ProjectGuid>
@@ -19,7 +19,7 @@
1919
<PackageProjectUrl>https://github.com/qatoolkit/qatoolkit-auth-net</PackageProjectUrl>
2020
<PackageIcon>qatoolkit-64x64.png</PackageIcon>
2121
<RepositoryUrl>https://github.com/qatoolkit/qatoolkit-auth-net</RepositoryUrl>
22-
<PackageTags>qatoolkit-auth-net;.net;c#;f#;dotnet;netstandard;net7;authentication;authorization</PackageTags>
22+
<PackageTags>qatoolkit-auth-net;.net;c#;f#;dotnet;netstandard;net8;authentication;authorization</PackageTags>
2323
<Configurations>Debug;Release</Configurations>
2424
</PropertyGroup>
2525

@@ -35,7 +35,7 @@
3535

3636
<ItemGroup>
3737
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
38-
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
39-
<PackageReference Include="QAToolKit.Core" Version="0.3.14" />
38+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
39+
<PackageReference Include="QAToolKit.Core" Version="0.3.15" />
4040
</ItemGroup>
4141
</Project>

0 commit comments

Comments
 (0)