From f7eaa03ac3c794dbe7af1b206795cd93d6fe4905 Mon Sep 17 00:00:00 2001 From: Dag Brattli Date: Fri, 13 Mar 2026 18:56:13 +0100 Subject: [PATCH 1/3] [CI] Downgrade fsharp-analyzers to 0.35.0 Co-Authored-By: Claude Opus 4.6 (1M context) --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 58e76730b..2d759a56f 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "fsharp-analyzers": { - "version": "0.36.0", + "version": "0.35.0", "commands": [ "fsharp-analyzers" ] From 25bcb0dfa461841a60b1d20e1ffa8532aec01555 Mon Sep 17 00:00:00 2001 From: Mangel Maxime Date: Fri, 13 Mar 2026 19:43:50 +0100 Subject: [PATCH 2/3] downgrade Analyzers packages too --- src/Directory.Build.props | 2 +- src/Fable.Analyzers/Fable.Analyzers.fsproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 3920dc579..7879470ec 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -28,7 +28,7 @@ all build - + all analyzers diff --git a/src/Fable.Analyzers/Fable.Analyzers.fsproj b/src/Fable.Analyzers/Fable.Analyzers.fsproj index 4674622b5..5a6dbf9b2 100644 --- a/src/Fable.Analyzers/Fable.Analyzers.fsproj +++ b/src/Fable.Analyzers/Fable.Analyzers.fsproj @@ -10,7 +10,7 @@ - + From fbd2e8c1c470c030f0a536a1b90f73d0cd84cf9d Mon Sep 17 00:00:00 2001 From: Mangel Maxime Date: Fri, 13 Mar 2026 16:25:14 +0100 Subject: [PATCH 3/3] use `global.json` to resolve .NET version on install --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91da55bcb..b4ce56eaa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Restore tools run: dotnet tool restore @@ -42,7 +42,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Restore project run: dotnet restore Fable.sln @@ -60,7 +60,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Node.js environment uses: actions/setup-node@v5 @@ -83,7 +83,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Node.js environment uses: actions/setup-node@v5 @@ -104,7 +104,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Node.js environment uses: actions/setup-node@v5 @@ -122,7 +122,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Node.js environment uses: actions/setup-node@v5 @@ -146,7 +146,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 @@ -187,7 +187,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Node.js environment uses: actions/setup-node@v5 @@ -213,7 +213,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Dart SDK uses: dart-lang/setup-dart@v1 @@ -231,7 +231,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Setup Erlang/OTP uses: erlef/setup-beam@v1 @@ -262,7 +262,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: "10.0.x" + global-json-file: global.json - name: Restore tools run: dotnet tool restore