Skip to content

Commit f5daca0

Browse files
authored
Upgrade to .NET 7
1 parent 8d9d5e7 commit f5daca0

File tree

7 files changed

+15
-35
lines changed

7 files changed

+15
-35
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ jobs:
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v2
21-
- name: Setup .NET Core 3.1
21+
- name: Setup .NET Core 7.0
2222
uses: actions/setup-dotnet@v1
2323
with:
24-
dotnet-version: '3.1.x'
25-
- name: Setup .NET Core 6.0
26-
uses: actions/setup-dotnet@v1
27-
with:
28-
dotnet-version: '6.0.x'
24+
dotnet-version: '7.0.x'
2925
- name: Initialize CodeQL
3026
uses: github/codeql-action/init@v1
3127
with:

.github/workflows/dotnet-core.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Setup .NET Core 3.1
19+
- name: Setup .NET Core 7.0
2020
uses: actions/setup-dotnet@v1
2121
with:
22-
dotnet-version: '3.1.x'
23-
- name: Setup .NET Core 5.0
24-
uses: actions/setup-dotnet@v1
25-
with:
26-
dotnet-version: '5.0.x'
27-
- name: Setup .NET Core 6.0
28-
uses: actions/setup-dotnet@v1
29-
with:
30-
dotnet-version: '6.0.x'
22+
dotnet-version: '7.0.x'
3123
- name: Clean
3224
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
3325
- name: Install dependencies
@@ -50,14 +42,10 @@ jobs:
5042
runs-on: ubuntu-latest
5143
steps:
5244
- uses: actions/checkout@v2
53-
- name: Setup .NET Core 3.1
54-
uses: actions/setup-dotnet@v1
55-
with:
56-
dotnet-version: '3.1.x'
57-
- name: Setup .NET Core 6.0
45+
- name: Setup .NET Core 7.0
5846
uses: actions/setup-dotnet@v1
5947
with:
60-
dotnet-version: '6.0.x'
48+
dotnet-version: '7.0.x'
6149
- name: Pack NuGet
6250
uses: brandedoutcast/publish-nuget@v2.5.5
6351
with:

.github/workflows/sonarqube-analysis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ jobs:
1212
- uses: actions/checkout@v2
1313
with:
1414
fetch-depth: 0
15-
- name: Setup .NET Core 3.1
15+
- name: Setup .NET Core 7.0
1616
uses: actions/setup-dotnet@v1
1717
with:
18-
dotnet-version: '3.1.x'
19-
- name: Setup .NET Core 6.0
20-
uses: actions/setup-dotnet@v1
21-
with:
22-
dotnet-version: '6.0.x'
18+
dotnet-version: '7.0.x'
2319
- name: SonarScanner for .NET Core with pull request decoration support
24-
uses: highbyte/sonarscan-dotnet@v2.1.2
20+
uses: highbyte/sonarscan-dotnet@v2.2.1
2521
with:
2622
sonarProjectKey: qatoolkit_qatoolkit-engine-httptester-net
2723
sonarProjectName: qatoolkit_qatoolkit-engine-httptester-net

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.6</Version>
3+
<Version>0.3.7</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`, `netcoreapp3.1`, `net5.0`
11+
Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net7.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-2022 Miha Jakovac
290+
Copyright (c) 2020-2023 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: 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>net6.0</TargetFrameworks>
4+
<TargetFramework>net7.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

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

Lines changed: 2 additions & 2 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;netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.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;net6</PackageTags>
22+
<PackageTags>qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net7</PackageTags>
2323
<Configurations>Debug;Release</Configurations>
2424
</PropertyGroup>
2525

0 commit comments

Comments
 (0)