Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 76292cf

Browse files
committedNov 16, 2024
Bump TFM to net8 and net9
1 parent d26202d commit 76292cf

File tree

9 files changed

+22
-10
lines changed

9 files changed

+22
-10
lines changed
 

‎.github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ jobs:
2222
- uses: actions/checkout@v3
2323

2424
- name: Setup .NET
25-
uses: actions/setup-dotnet@v3
25+
uses: actions/setup-dotnet@v4
26+
with:
27+
global-json-file: 'global.json'
28+
dotnet-version: |
29+
8.x
30+
9.x
2631
2732
- name: Build
2833
run: dotnet fsi build.fsx

‎.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ jobs:
1919
- uses: actions/checkout@v3
2020

2121
- name: Setup .NET
22-
uses: actions/setup-dotnet@v3
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
global-json-file: 'global.json'
25+
dotnet-version: |
26+
8.x
27+
9.x
28+
2329
2430
- name: Run Release Build
2531
run: dotnet fsi build.fsx -p ReleaseBuild

‎Directory.Packages.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
<MsBuildPackageVersion>17.2.0</MsBuildPackageVersion>
5+
<NuGetAuditMode>direct</NuGetAuditMode>
56
</PropertyGroup>
67
<ItemGroup>
78
<PackageVersion Include="CliWrap" Version="3.6.4" />
@@ -11,7 +12,7 @@
1112
<PackageVersion Include="McMaster.NETCore.Plugins" Version="1.4.0" />
1213
<PackageVersion Include="Argu" Version="6.1.1" />
1314
<PackageVersion Include="Glob" Version="1.1.9" />
14-
<PackageVersion Include="Ionide.ProjInfo.ProjectSystem" Version="0.65.0" />
15+
<PackageVersion Include="Ionide.ProjInfo.ProjectSystem" Version="0.67.0" />
1516
<PackageVersion Include="Microsoft.Build" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />
1617
<PackageVersion Include="Microsoft.Build.Framework" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />
1718
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />

‎global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.200",
3+
"version": "9.0.100",
44
"rollForward": "latestMinor"
55
}
66
}

‎samples/OptionAnalyzer.Test/OptionAnalyzer.Test.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RollForward>LatestMajor</RollForward>
66

77
<IsPackable>false</IsPackable>

‎samples/OptionAnalyzer/OptionAnalyzer.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

‎src/FSharp.Analyzers.Cli/FSharp.Analyzers.Cli.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RollForward>LatestMajor</RollForward>
66
<OutputType>Exe</OutputType>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

‎src/FSharp.Analyzers.SDK.Testing/FSharp.Analyzers.SDK.Testing.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFrameworks>net8.0; net9.0</TargetFrameworks>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<IsPackable>true</IsPackable>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>

‎src/FSharp.Analyzers.SDK/FSharp.Analyzers.SDK.fsproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
55
<IsPackable>true</IsPackable>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>

0 commit comments

Comments
 (0)
Please sign in to comment.