File tree Expand file tree Collapse file tree 11 files changed +35
-21
lines changed Expand file tree Collapse file tree 11 files changed +35
-21
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,21 @@ jobs:
49
49
run : git fetch --prune --unshallow
50
50
- uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
51
51
with :
52
- # codecov needs 2.1, unittests needs 3.1, gitversion needs 5.0
52
+ # codecov needs 2.1
53
+ # unittests needs 3.1
54
+ # gitversion needs 5.0
55
+ # cake 1.3 needs 6.0
56
+ # gitrelasemanager (v0.18.0) needs 7.0
57
+ # .NET 9 to build
58
+ # test are running on 8 and 9
53
59
dotnet-version : |
54
60
2.1
55
61
3.1
56
62
5.0
57
63
6.0
58
64
7.0
59
65
8.0
66
+ 9.0
60
67
- name : Cache Tools
61
68
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
62
69
with :
Original file line number Diff line number Diff line change @@ -35,14 +35,13 @@ jobs:
35
35
run : git fetch --prune --unshallow
36
36
- uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
37
37
with :
38
- # codecov needs 2.1, unittests needs 3.1, gitversion needs 5.0
38
+ # gitversion needs 5.0
39
+ # cake 1.3 needs 6.0
40
+ # .NET 9 to build
39
41
dotnet-version : |
40
- 2.1
41
- 3.1
42
- 5.0
43
- 6.0
44
- 7.0
45
- 8.0
42
+ 5.0
43
+ 6.0
44
+ 9.0
46
45
- name : Cache Tools
47
46
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
48
47
with :
Original file line number Diff line number Diff line change
1
+ # ensure a most-recent debug-build, so we can reference that.
2
+ dotnet build ../../src/Cake.ESLint/Cake.ESLint.csproj
3
+
1
4
dotnet run --project ./build/Build.csproj -- " $@ "
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFramework >net8 .0</TargetFramework >
4
+ <TargetFramework >net9 .0</TargetFramework >
5
5
<RunWorkingDirectory >$(MSBuildProjectDirectory)</RunWorkingDirectory >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
- <PackageReference Include =" Cake.Frosting" Version =" 4 .0.0" />
9
- <PackageReference Include =" Cake.Npm" Version =" 4 .0.0" />
8
+ <PackageReference Include =" Cake.Frosting" Version =" 5 .0.0" />
9
+ <PackageReference Include =" Cake.Npm" Version =" 5 .0.0" />
10
10
</ItemGroup >
11
11
<ItemGroup >
12
12
<Reference Include =" Cake.ESLint" >
13
- <HintPath >$(ProjectDir)../../../src/Cake.ESLint/bin/Debug/net8 .0/Cake.ESLint.dll</HintPath >
13
+ <HintPath >$(ProjectDir)../../../src/Cake.ESLint/bin/Debug/net9 .0/Cake.ESLint.dll</HintPath >
14
14
</Reference >
15
15
</ItemGroup >
16
16
<ItemGroup >
Original file line number Diff line number Diff line change 3
3
"isRoot" : true ,
4
4
"tools" : {
5
5
"cake.tool" : {
6
- "version" : " 4 .0.0" ,
6
+ "version" : " 5 .0.0" ,
7
7
"commands" : [
8
8
" dotnet-cake"
9
9
]
10
10
}
11
11
}
12
- }
12
+ }
Original file line number Diff line number Diff line change 1
- #addin nuget : ? package= Cake . Npm & version = 4 .0.0
2
- #r "..\..\src\Cake.ESLint\b in\Debug\n et8 .0\Cake.ESLint.dll"
1
+ #addin nuget : ? package= Cake . Npm & version = 5 .0.0
2
+ #r "..\..\src\Cake.ESLint\b in\Debug\n et9 .0\Cake.ESLint.dll"
3
3
4
4
///////////////////////////////////////////////////////////////////////////////
5
5
// ARGUMENTS
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
7
7
export DOTNET_CLI_TELEMETRY_OPTOUT=1
8
8
export DOTNET_NOLOGO=1
9
9
10
+ # ensure a most-recent debug-build, so we can reference that.
11
+ dotnet build ../../src/Cake.ESLint/Cake.ESLint.csproj
12
+
10
13
dotnet tool restore
11
14
12
15
dotnet cake " $@ "
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
3
"allowPrerelease" : true ,
4
- "version" : " 8 .0.410 " ,
4
+ "version" : " 9 .0.300 " ,
5
5
"rollForward" : " latestFeature"
6
6
}
7
7
}
Original file line number Diff line number Diff line change @@ -18,5 +18,7 @@ BuildParameters.SetParameters(
18
18
BuildParameters . PrintParameters ( Context ) ;
19
19
20
20
ToolSettings . SetToolSettings ( context : Context ) ;
21
+ ToolSettings . SetToolPreprocessorDirectives (
22
+ gitReleaseManagerGlobalTool : "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0" ) ;
21
23
22
24
Build . RunDotNetCore ( ) ;
Original file line number Diff line number Diff line change 8
8
Remove this hack if Cake.Recipe bumps the usage of Cake.Incubator to version 7.0.0
9
9
-->
10
10
<TargetFrameworks Condition =" false" >netcoreapp3.1</TargetFrameworks >
11
- <TargetFrameworks >net6 .0;net7.0;net8 .0</TargetFrameworks >
11
+ <TargetFrameworks >net8 .0;net9 .0</TargetFrameworks >
12
12
<NoWarn >$(NoWarn);CS1591;SA1600</NoWarn >
13
13
14
14
<IsPackable >false</IsPackable >
15
15
</PropertyGroup >
16
16
17
17
<ItemGroup >
18
- <PackageReference Include =" Cake.Testing" Version =" 4 .0.0" />
18
+ <PackageReference Include =" Cake.Testing" Version =" 5 .0.0" />
19
19
<PackageReference Include =" coverlet.msbuild" Version =" 6.0.4" >
20
20
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
21
21
<PrivateAssets >all</PrivateAssets >
You can’t perform that action at this time.
0 commit comments