Skip to content

Commit e6fc904

Browse files
authored
.NET 8 update
1 parent f5daca0 commit e6fc904

File tree

7 files changed

+49
-112
lines changed

7 files changed

+49
-112
lines changed

.github/workflows/codeql-analysis.yml

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

.github/workflows/dotnet-core.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,42 @@ 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: Clean
24-
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
25-
- name: Install dependencies
26-
run: dotnet restore qatoolkit-engine-httptester-net.sln
27-
- name: Build
28-
run: dotnet build --configuration Release --no-restore
29-
- name: Test
30-
run: dotnet test --no-restore --verbosity normal
31-
- name: Upload a Build Artifact
32-
uses: actions/upload-artifact@v2.2.0
33-
with:
34-
# Artifact name
35-
name: qatoolkit-engine-httptester-net.zip
36-
# A file, directory or wildcard pattern that describes what to upload
37-
path: src/QAToolKit.Engine.HttpTester/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: Clean
24+
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
25+
- name: Install dependencies
26+
run: dotnet restore qatoolkit-engine-httptester-net.sln
27+
- name: Build
28+
run: dotnet build --configuration Release --no-restore
29+
- name: Test
30+
run: dotnet test --no-restore --verbosity normal
31+
- name: Upload a Build Artifact
32+
uses: actions/upload-artifact@v4.3.1
33+
with:
34+
# Artifact name
35+
name: qatoolkit-engine-httptester-net-${{ matrix.os }}.zip
36+
# A file, directory or wildcard pattern that describes what to upload
37+
path: src/QAToolKit.Engine.HttpTester/bin/
3838
deploy:
3939
name: Pack and Push Nuget
4040
needs: build
4141
if: github.event_name == 'release'
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: actions/checkout@v2
45-
- name: Setup .NET Core 7.0
46-
uses: actions/setup-dotnet@v1
47-
with:
48-
dotnet-version: '7.0.x'
49-
- name: Pack NuGet
50-
uses: brandedoutcast/publish-nuget@v2.5.5
51-
with:
52-
# Filepath of the project to be packaged, relative to root of repository
53-
PROJECT_FILE_PATH: src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
54-
VERSION_FILE_PATH: Directory.Build.props
55-
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
56-
TAG_COMMIT: true
44+
- uses: actions/checkout@v4.1.1
45+
- name: Setup .NET Core 8.0
46+
uses: actions/setup-dotnet@v4
47+
with:
48+
dotnet-version: '8.0.x'
49+
- name: Pack NuGet
50+
uses: brandedoutcast/publish-nuget@v2.5.5
51+
with:
52+
# Filepath of the project to be packaged, relative to root of repository
53+
PROJECT_FILE_PATH: src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
54+
VERSION_FILE_PATH: Directory.Build.props
55+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
56+
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.3.7</Version>
3+
<Version>0.3.8</Version>
44
</PropertyGroup>
55
</Project>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
## Description
99
`QAToolKit.Engine.HttpTester` is a .NET Standard 2.1 library, that that contains an implementation of `IHttpTesterClient` that is a thin wrapper around .NET `HttpClient` to allow to write easy Http Request calls.
1010

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

1313
Get in touch with me on:
1414

@@ -287,7 +287,7 @@ using (var client = new HttpTesterClient())
287287

288288
MIT License
289289

290-
Copyright (c) 2020-2023 Miha Jakovac
290+
Copyright (c) 2020-2024 Miha Jakovac
291291

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

src/QAToolKit.Engine.HttpTester.Test/QAToolKit.Engine.HttpTester.Test.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
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.1.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>
1414
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
15-
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
16-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
15+
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
16+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
1818
<PackageReference Include="ExpectedObjects" Version="3.5.4" />
19-
<PackageReference Include="QAToolKit.Source.Swagger" Version="0.4.0" />
20-
<PackageReference Include="xunit" Version="2.4.1" />
21-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
19+
<PackageReference Include="QAToolKit.Source.Swagger" Version="0.4.1" />
20+
<PackageReference Include="xunit" Version="2.7.0" />
21+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageReference>
25-
<PackageReference Include="coverlet.collector" Version="3.1.0">
25+
<PackageReference Include="coverlet.collector" Version="6.0.1">
2626
<PrivateAssets>all</PrivateAssets>
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
</PackageReference>

src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.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>23f0cf6e-9a0a-4be5-8f51-51daf799a0bf</ProjectGuid>
@@ -19,7 +19,7 @@
1919
<PackageProjectUrl>https://github.com/qatoolkit/qatoolkit-engine-httptester-net</PackageProjectUrl>
2020
<PackageIcon>qatoolkit-64x64.png</PackageIcon>
2121
<RepositoryUrl>https://github.com/qatoolkit/qatoolkit-core-net</RepositoryUrl>
22-
<PackageTags>qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net7</PackageTags>
22+
<PackageTags>qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net8</PackageTags>
2323
<Configurations>Debug;Release</Configurations>
2424
</PropertyGroup>
2525

@@ -34,7 +34,7 @@
3434
</ItemGroup>
3535

3636
<ItemGroup>
37-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
38-
<PackageReference Include="QAToolKit.Core" Version="0.3.13" />
37+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
38+
<PackageReference Include="QAToolKit.Core" Version="0.3.15" />
3939
</ItemGroup>
4040
</Project>

0 commit comments

Comments
 (0)