From e83f37daad7760dc8b197fdeba633185868336a7 Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Tue, 19 Nov 2024 17:29:05 +0100 Subject: [PATCH] bump FCS and Analyzer SDK to .NET 9 versions (#129) bump FCS and Analyzer SDK to .NET 9 versions also bump TFM to net8.0 because those packages require it --- .config/dotnet-tools.json | 2 +- .github/workflows/ci.yml | 2 +- Directory.Packages.props | 8 ++++---- nuget.config | 8 ++++++++ src/Ionide.Analyzers/Ionide.Analyzers.fsproj | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 nuget.config diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 8fe1a36..2a86eeb 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fsharp-analyzers": { - "version": "0.27.0", + "version": "0.28.0", "commands": [ "fsharp-analyzers" ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc717af..4420b7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - name: Analyzers continue-on-error: true - run: dotnet fsharp-analyzers --project ./src/Ionide.Analyzers/Ionide.Analyzers.fsproj --project ./tests/Ionide.Analyzers.Tests/Ionide.Analyzers.Tests.fsproj --analyzers-path ./src/Ionide.Analyzers/bin/Release/net6.0 --report ./report.sarif + run: dotnet fsharp-analyzers --project ./src/Ionide.Analyzers/Ionide.Analyzers.fsproj --project ./tests/Ionide.Analyzers.Tests/Ionide.Analyzers.Tests.fsproj --analyzers-path ./src/Ionide.Analyzers/bin/Release/net8.0 --report ./report.sarif if: matrix.os == 'ubuntu-latest' - name: Upload SARIF file diff --git a/Directory.Packages.props b/Directory.Packages.props index 9edc8b3..94992dc 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,8 +4,8 @@ true - - + + @@ -14,7 +14,7 @@ - - + + \ No newline at end of file diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000..6ce9759 --- /dev/null +++ b/nuget.config @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/Ionide.Analyzers/Ionide.Analyzers.fsproj b/src/Ionide.Analyzers/Ionide.Analyzers.fsproj index 0551c6a..12984ae 100644 --- a/src/Ionide.Analyzers/Ionide.Analyzers.fsproj +++ b/src/Ionide.Analyzers/Ionide.Analyzers.fsproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 true true true