Skip to content

Commit 5f67ba3

Browse files
authored
Merge pull request #292 from nils-a/feature/GH-291
(#291) Update Cake.Core to 5.0.0
2 parents 0cc0908 + 24ee988 commit 5f67ba3

File tree

6 files changed

+17
-13
lines changed

6 files changed

+17
-13
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,17 @@ jobs:
5454
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
5555
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
5656
with:
57+
# codecov needs 2.1
58+
# unittests needs 3.1
59+
# gitversion needs 5.0
60+
# cake 1.3 needs 6.0
61+
# .NET 9 to build
5762
dotnet-version: |
5863
2.1
5964
3.1
6065
5.0
6166
6.0
62-
7.0
63-
8.0
67+
9.0
6468
- name: Build project
6569
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
6670
with:

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
fetch-depth: 0
3636
- uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
3737
with:
38+
# gitversion needs 5.0
39+
# cake 1.3 needs 6.0
40+
# .NET 9 to build
3841
dotnet-version: |
39-
2.1
40-
3.1
4142
5.0
4243
6.0
43-
7.0
44-
8.0
44+
9.0
4545
- name: Cache Tools
4646
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
4747
with:

build.sh

100644100755
File mode changed.

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.403",
3+
"version": "9.0.101",
44
"rollForward": "latestFeature"
55
}
6-
}
6+
}

src/Cake.Npm.Module.Tests/Cake.Npm.Module.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Remove this hack, if Cake.Recipe bumps the usage of Cake.Incubator to version 7.0.0.
88
-->
99
<TargetFramework Condition="false">netcoreapp3.1</TargetFramework>
10-
<TargetFramework>net6.0</TargetFramework>
10+
<TargetFramework>net8.0</TargetFramework>
1111
</PropertyGroup>
1212

1313
<ItemGroup>
@@ -18,7 +18,7 @@
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
</PackageReference>
21-
<PackageReference Include="Cake.Testing" Version="4.0.0" />
21+
<PackageReference Include="Cake.Testing" Version="5.0.0" />
2222
<PackageReference Include="NSubstitute" Version="5.3.0" />
2323
</ItemGroup>
2424

src/Cake.Npm.Module/Cake.Npm.Module.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<PublishRepositoryUrl>true</PublishRepositoryUrl>
77
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
88
<EmbedUntrackedSources>true</EmbedUntrackedSources>
99
<AssemblyName>Cake.Npm.Module</AssemblyName>
10-
<CakeVersion>4.0.0</CakeVersion>
10+
<CakeVersion>5.0.0</CakeVersion>
1111
</PropertyGroup>
1212

1313
<PropertyGroup>
@@ -39,7 +39,7 @@
3939

4040
<ItemGroup>
4141
<PackageReference Include="Cake.Core" Version="$(CakeVersion)" PrivateAssets="all" />
42-
<PackageReference Include="CakeContrib.Guidelines" Version="1.5.1">
42+
<PackageReference Include="CakeContrib.Guidelines" Version="1.6.1">
4343
<PrivateAssets>all</PrivateAssets>
4444
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4545
</PackageReference>

0 commit comments

Comments
 (0)