Skip to content

Commit abc17c0

Browse files
authored
Upgrade .NET 7.0
1 parent 57e5432 commit abc17c0

File tree

8 files changed

+26
-41
lines changed

8 files changed

+26
-41
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: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Setup .NET Core 3.1
20-
uses: actions/setup-dotnet@v1
21-
with:
22-
dotnet-version: '3.1.x'
23-
- name: Setup .NET Core 6.0
19+
- name: Setup .NET Core 7.0
2420
uses: actions/setup-dotnet@v1
2521
with:
26-
dotnet-version: '6.0.x'
22+
dotnet-version: '7.0.x'
2723
- name: Install dependencies
2824
run: dotnet restore
2925
- name: Build

.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-database-net
2723
sonarProjectName: qatoolkit_qatoolkit-engine-database-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.4.1</Version>
3+
<Version>0.4.2</Version>
44
</PropertyGroup>
55
</Project>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ var asserter = new TestAsserter(result)
228228

229229
MIT License
230230

231-
Copyright (c) 2020-2021 Miha Jakovac
231+
Copyright (c) 2020-2023 Miha Jakovac
232232

233233
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
234234
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

src/QAToolKit.Engine.Database.Test/QAToolKit.Engine.Database.Test.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.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="3.2.0">
1111
<PrivateAssets>all</PrivateAssets>
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
</PackageReference>
1414
<PackageReference Include="ExpectedObjects" Version="3.5.4" />
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" />
18-
<PackageReference Include="NSubstitute" Version="4.3.0" />
19-
<PackageReference Include="xunit" Version="2.4.1" />
20-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
21-
<PrivateAssets>all</PrivateAssets>
22-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
23-
</PackageReference>
24-
<PackageReference Include="coverlet.collector" Version="3.1.0">
15+
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
16+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
18+
<PackageReference Include="NSubstitute" Version="4.4.0" />
19+
<PackageReference Include="xunit" Version="2.4.2" />
20+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
2521
<PrivateAssets>all</PrivateAssets>
2622
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2723
</PackageReference>

src/QAToolKit.Engine.Database/QAToolKit.Engine.Database.csproj

Lines changed: 8 additions & 8 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>665548a2-15c9-4e5b-b658-24a0020efc3a</ProjectGuid>
@@ -19,7 +19,7 @@
1919
<PackageProjectUrl>https://github.com/qatoolkit/qatoolkit-engine-database-net</PackageProjectUrl>
2020
<PackageIcon>qatoolkit-64x64.png</PackageIcon>
2121
<RepositoryUrl>https://github.com/qatoolkit/qatoolkit-engine-database-net</RepositoryUrl>
22-
<PackageTags>qatoolkit-engine-database-net;.net;c#;f#;dotnet;netstandard;net6</PackageTags>
22+
<PackageTags>qatoolkit-engine-database-net;.net;c#;f#;dotnet;netstandard;net7</PackageTags>
2323
<Configurations>Debug;Release</Configurations>
2424
</PropertyGroup>
2525

@@ -35,11 +35,11 @@
3535

3636
<ItemGroup>
3737
<PackageReference Include="Dapper" Version="2.0.123" />
38-
<PackageReference Include="MySql.Data" Version="8.0.28" />
39-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
40-
<PackageReference Include="Npgsql" Version="6.0.3" />
41-
<PackageReference Include="QAToolKit.Core" Version="0.3.13" />
42-
<PackageReference Include="SqlKata" Version="2.3.7" />
43-
<PackageReference Include="System.Data.SqlClient" Version="4.8.3" />
38+
<PackageReference Include="MySql.Data" Version="8.0.31" />
39+
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
40+
<PackageReference Include="Npgsql" Version="7.0.1" />
41+
<PackageReference Include="QAToolKit.Core" Version="0.3.14" />
42+
<PackageReference Include="SqlKata" Version="2.4.0" />
43+
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
4444
</ItemGroup>
4545
</Project>

0 commit comments

Comments
 (0)