Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit 2b4f154

Browse files
authored
Upgrade to MSTest SDK v17 (#7)
* Upgrade to MSTest SDK v17 * Drop < .Net 6.0 * Improve CI, impl build-config matrix, drop < .NET 6.0
1 parent 27c77c5 commit 2b4f154

4 files changed

Lines changed: 22 additions & 38 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ name: .NET Core Builds
22

33
on:
44
push:
5-
branches: [ master, dev ]
6-
pull_request:
75
branches: [ master ]
6+
pull_request:
7+
branches: [ dev ]
88

99
jobs:
1010
build:
11+
strategy:
12+
matrix:
13+
build-config: [ Debug, Release ]
1114

1215
runs-on: ubuntu-latest
1316

@@ -17,17 +20,9 @@ jobs:
1720
uses: actions/setup-dotnet@v1
1821
with:
1922
dotnet-version: 6.0.100
20-
- name: Setup .NET 5.0
21-
uses: actions/setup-dotnet@v1
22-
with:
23-
dotnet-version: 5.0.403
24-
- name: Setup .NET Core 3.1
25-
uses: actions/setup-dotnet@v1
26-
with:
27-
dotnet-version: 3.1.415
2823
- name: Install dependencies
2924
run: dotnet restore
30-
- name: Build
31-
run: dotnet build --configuration Release --no-restore
32-
- name: Test.Mutant
33-
run: dotnet test --no-restore --verbosity normal ./test/test.csproj
25+
- name: Build Mutant
26+
run: dotnet build --configuration ${{ matrix.build-config }} --no-restore
27+
- name: Test Mutant
28+
run: dotnet test --configuration ${{ matrix.build-config }} --no-restore --verbosity normal ./test/test.csproj

AMT.LinqExtensions/AMT.LinqExtensions.csproj

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,11 @@
1616
<GenerateNeutralResourcesLanguageAttribute />
1717

1818
<Description>A few LINQ Extensions we find useful.</Description>
19-
<PackageReleaseNotes>Supports .NET Core 3.1, .NET 5.0, &amp; .NET 6.0</PackageReleaseNotes>
19+
<PackageReleaseNotes>Supports .NET 6.0</PackageReleaseNotes>
2020
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2121
<PackageProjectUrl>https://github.com/AltaModaTech/LINQExtensions</PackageProjectUrl>
2222
<PackageTags>LINQ</PackageTags>
2323
<Title>LINQ Extensions by AltaModa Technologies</Title>
2424
</PropertyGroup>
2525

26-
<!--
27-
.NET 6.0 (LTS) EOL 11/8/2024
28-
.NET Core 3.1 (LTS) EOL 12/3/2022
29-
.NET 5.0 EOL 5/8/2022
30-
.NET Core 2.1 (LTS) EOL 8/21/2021
31-
.NET Core 1.1 EOL 6/27/2019
32-
-->
33-
<PropertyGroup>
34-
<TargetFrameworks>netstandard2.1;net5.0;net6.0</TargetFrameworks>
35-
</PropertyGroup>
36-
3726
</Project>

common.props

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,22 @@
1010

1111
<!-- Assembly version & attribute controls -->
1212
<PropertyGroup>
13-
<VersionPrefix>3.2.0</VersionPrefix>
13+
<VersionPrefix>4.0.0</VersionPrefix>
1414

1515
<GenerateAssemblyConfigurationAttribute>true</GenerateAssemblyConfigurationAttribute>
1616
<GenerateAssemblyCompanyAttribute>true</GenerateAssemblyCompanyAttribute>
1717
<GenerateAssemblyProductAttribute>true</GenerateAssemblyProductAttribute>
1818
</PropertyGroup>
1919

20+
<!--
21+
.NET 6.0 (LTS) EOL 11/8/2024
22+
.NET Core 3.1 (LTS) EOL 12/3/2022
23+
.NET 5.0 EOL 5/8/2022
24+
.NET Core 2.1 (LTS) EOL 8/21/2021
25+
.NET Core 1.1 EOL 6/27/2019
26+
-->
27+
<PropertyGroup>
28+
<TargetFrameworks>net6.0</TargetFrameworks>
29+
</PropertyGroup>
30+
2031
</Project>

test/test.csproj

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,6 @@
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>
99

10-
<!--
11-
.NET 6.0 (LTS) EOL 11/8/2024
12-
.NET Core 3.1 (LTS) EOL 12/3/2022
13-
.NET 5.0 EOL 5/8/2022
14-
.NET Core 2.1 (LTS) EOL 8/21/2021
15-
.NET Core 1.1 EOL 6/27/2019
16-
-->
17-
<PropertyGroup>
18-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
19-
</PropertyGroup>
20-
2110
<ItemGroup>
2211
<ProjectReference Include="..\AMT.LinqExtensions\AMT.LinqExtensions.csproj" />
2312
</ItemGroup>

0 commit comments

Comments
 (0)