File tree 5 files changed +13
-10
lines changed
5 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
17
17
# Set up
18
18
19
19
- name : Setup .NET
20
- uses : actions/setup-dotnet@v4.0.1
20
+ uses : actions/setup-dotnet@v4.1.0
21
21
with :
22
22
dotnet-version : |
23
- 8 .0.x
23
+ 9 .0.x
24
24
25
25
# Check out
26
26
27
27
- name : Check out ${{env.NAME}}
28
- uses : actions/checkout@v4.2.1
28
+ uses : actions/checkout@v4.2.2
29
29
30
30
# Build
31
31
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ The LPRun is the LINQPad driver's unit/integration tests runner. Can be used for
33
33
34
34
.NET versions supported by LPRun are listed below. In case of unsupported version LPRun fallbacks to the latest production .NET installed.
35
35
36
- | LPRun | .NET 8.0 | .NET 7.0 | .NET 6.0 | .NET 5.0 | .NET 3.1 |
37
- | :-------:| :--------:| :--------:| :--------:| :--------:| :--------:|
38
- | 8 | ✔️ | ✔️ | ✔️ | | |
39
- | 7 | | ✔️ | ✔️ | ✔️ | ✔️ |
36
+ | LPRun | .NET 9.0 | .NET 8.0 | .NET 7.0 | .NET 6.0 | .NET 5.0 | .NET 3.1 |
37
+ | :-------:| :--------:| :--------:| :--------:| :--------:| :--------:| :--------: |
38
+ | 8 | ✔️ | ✔️ | ✔️ | ✔️ | | |
39
+ | 7 | | | ✔️ | ✔️ | ✔️ | ✔️ |
40
40
41
41
Use the following script to check the .NET version used by LPRun:
42
42
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ namespace LPRun;
16
16
/// </summary>
17
17
public static class Context
18
18
{
19
+ private const int MinVersionSupported = 6 ;
20
+ private const int MaxVersionSupported = 9 ;
21
+
19
22
private static readonly string BaseDir = GetDirectoryName ( new Uri ( Assembly . GetExecutingAssembly ( ) . Location ) . LocalPath ) ! ;
20
23
21
24
private static readonly string LpRunDir = GetFullPath ( "LPRun" ) ;
@@ -26,7 +29,7 @@ public static class Context
26
29
ThrowNotSupportedFrameworkException ( IsNetNative , "Native" ) ??
27
30
FrameworkInfo . Version . Major switch
28
31
{
29
- >= 6 and <= 8 => $ "LPRun8-{ ( IsArm ? "arm" : "x" ) } { ( Is64Bit ? "64" : "86" ) } .exe",
32
+ >= MinVersionSupported and <= MaxVersionSupported => $ "LPRun8-{ ( IsArm ? "arm" : "x" ) } { ( Is64Bit ? "64" : "86" ) } .exe",
30
33
_ => ThrowNotSupportedNetVersionException ( )
31
34
} ;
32
35
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFrameworks >netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks >
3
+ <TargetFrameworks >netstandard2.1;net6.0;net7.0;net8.0;net9.0 </TargetFrameworks >
4
4
<Deterministic >true</Deterministic >
5
5
<LangVersion >latest</LangVersion >
6
6
<Nullable >enable</Nullable >
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 8 .0.303 " ,
3
+ "version" : " 9 .0.100 " ,
4
4
"rollForward" : " latestFeature"
5
5
}
6
6
}
You can’t perform that action at this time.
0 commit comments