Skip to content

Commit d0ea2f6

Browse files
authored
Feature/migrate to net8 +semver:major (#6)
* Migrate to .Net 8 - WIP * Fix the Tests * Fix the tests * Fix two further tests * Fix the remaining tests * Upgrade the github action version * Update ci.yml * Update release.yml * Update GitVersion.yml * Update GitVersion.yml
1 parent 15e35d8 commit d0ea2f6

File tree

350 files changed

+541
-534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+541
-534
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup .NET Core
2929
uses: actions/setup-dotnet@v2
3030
with:
31-
dotnet-version: "6.0.x"
31+
dotnet-version: "8.0.x"
3232
- name: Install dependencies
3333
run: dotnet restore src
3434
- name: Use GitVersion

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup .NET Core
2424
uses: actions/setup-dotnet@v2
2525
with:
26-
dotnet-version: "6.0.x"
26+
dotnet-version: "8.0.x"
2727
- name: Install dependencies
2828
run: dotnet restore src
2929
- name: Use GitVersion

GitVersion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
next-version: 1.0.2
1+
next-version: 2.0.0
22
mode: Mainline
33
major-version-bump-message: '\+semver:\s?(breaking|major)'
44
minor-version-bump-message: '\+semver:\s?(feature|minor)'

src/LittleBlocks.AspNetCore.Bootstrap.UnitTests/DummyRequestContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This software is part of the LittleBlocks framework
2-
// Copyright (C) 2022 LittleBlocks
2+
// Copyright (C) 2024 LittleBlocks
33
//
44
// This program is free software: you can redistribute it and/or modify
55
// it under the terms of the GNU Affero General Public License as published by

src/LittleBlocks.AspNetCore.Bootstrap.UnitTests/LittleBlocks.AspNetCore.Bootstrap.UnitTests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<LangVersion>10</LangVersion>
4-
<TargetFramework>net6.0</TargetFramework>
3+
<LangVersion>12</LangVersion>
4+
<TargetFramework>net8.0</TargetFramework>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
8-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
9-
<PackageReference Include="xunit" Version="2.4.2" />
10-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
7+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
9+
<PackageReference Include="xunit" Version="2.6.6" />
10+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
1111
<PrivateAssets>all</PrivateAssets>
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
</PackageReference>

src/LittleBlocks.AspNetCore.Bootstrap.UnitTests/ServiceCollectionExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This software is part of the LittleBlocks framework
2-
// Copyright (C) 2022 LittleBlocks
2+
// Copyright (C) 2024 LittleBlocks
33
//
44
// This program is free software: you can redistribute it and/or modify
55
// it under the terms of the GNU Affero General Public License as published by

src/LittleBlocks.AspNetCore.Bootstrap/ApiPipelineOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This software is part of the LittleBlocks framework
2-
// Copyright (C) 2022 LittleBlocks
2+
// Copyright (C) 2024 LittleBlocks
33
//
44
// This program is free software: you can redistribute it and/or modify
55
// it under the terms of the GNU Affero General Public License as published by

src/LittleBlocks.AspNetCore.Bootstrap/AppBootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This software is part of the LittleBlocks framework
2-
// Copyright (C) 2022 LittleBlocks
2+
// Copyright (C) 2024 LittleBlocks
33
//
44
// This program is free software: you can redistribute it and/or modify
55
// it under the terms of the GNU Affero General Public License as published by

src/LittleBlocks.AspNetCore.Bootstrap/ApplicationBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This software is part of the LittleBlocks framework
2-
// Copyright (C) 2022 LittleBlocks
2+
// Copyright (C) 2024 LittleBlocks
33
//
44
// This program is free software: you can redistribute it and/or modify
55
// it under the terms of the GNU Affero General Public License as published by

src/LittleBlocks.AspNetCore.Bootstrap/Extensions/PipelineExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This software is part of the LittleBlocks framework
2-
// Copyright (C) 2022 LittleBlocks
2+
// Copyright (C) 2024 LittleBlocks
33
//
44
// This program is free software: you can redistribute it and/or modify
55
// it under the terms of the GNU Affero General Public License as published by

0 commit comments

Comments
 (0)