Skip to content

Commit ddc83da

Browse files
authored
Upgrade to .NET 7
1 parent 22b7898 commit ddc83da

File tree

8 files changed

+15
-30
lines changed

8 files changed

+15
-30
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 & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@ jobs:
1515
os: [ ubuntu-latest, windows-latest, macos-latest ]
1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Setup .NET Core 3.1
18+
- name: Setup .NET Core 7.0
1919
uses: actions/setup-dotnet@v1
2020
with:
21-
dotnet-version: '3.1.x'
22-
- name: Setup .NET Core 6.0
23-
uses: actions/setup-dotnet@v1
24-
with:
25-
dotnet-version: '6.0.x'
21+
dotnet-version: '7.0.x'
2622
- name: Install dependencies
2723
run: dotnet restore
2824
- name: Build
@@ -43,14 +39,10 @@ jobs:
4339
runs-on: ubuntu-latest
4440
steps:
4541
- uses: actions/checkout@v2
46-
- name: Setup .NET Core 3.1
47-
uses: actions/setup-dotnet@v1
48-
with:
49-
dotnet-version: '3.1.x'
50-
- name: Setup .NET Core 6.0
42+
- name: Setup .NET Core 7.0
5143
uses: actions/setup-dotnet@v1
5244
with:
53-
dotnet-version: '6.0.x'
45+
dotnet-version: '7.0.x'
5446
- name: Pack NuGet
5547
uses: brandedoutcast/publish-nuget@v2.5.5
5648
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-probes-net
2723
sonarProjectName: qatoolkit_qatoolkit-engine-probes-net

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,3 +361,4 @@ MigrationBackup/
361361
# Fody - auto-generated XML schema
362362
FodyWeavers.xsd
363363
/src/QAToolKit.Core.Test/global.json
364+
.idea/

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.1.7</Version>
3+
<Version>0.1.8</Version>
44
</PropertyGroup>
55
</Project>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can quickly write tests or protocols to send `PING`, send `TCP messages`, or
1414

1515
Then get the results and process them further depending on your needs.
1616

17-
Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `netcoreapp3.1`, `net6.0`
17+
Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net7.0`
1818

1919
Get in touch with me on:
2020

@@ -112,7 +112,7 @@ public class MyProbe : IProbe<string>
112112

113113
MIT License
114114

115-
Copyright (c) 2020-2021 Miha Jakovac
115+
Copyright (c) 2020-2023 Miha Jakovac
116116

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

src/QAToolKit.Engine.Probes.Test/QAToolKit.Engine.Probes.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.Probes/QAToolKit.Engine.Probes.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>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>4a1e27ea-a11e-4eef-8de3-12fb81975448</ProjectGuid>

0 commit comments

Comments
 (0)