From bd5e0b5381316eb3ba5fb47012be4692dae8a322 Mon Sep 17 00:00:00 2001 From: Tuomas Hietanen Date: Fri, 2 May 2025 14:52:43 +0100 Subject: [PATCH 1/5] dotnet tools update --- .config/dotnet-tools.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 803cbd7..aeb9256 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,13 +3,13 @@ "isRoot": true, "tools": { "paket": { - "version": "7.1.5", + "version": "9.0.2", "commands": [ "paket" ] }, "fake-cli": { - "version": "5.22.0", + "version": "6.1.3", "commands": [ "fake" ] From ca4db8f658195d3fa131773729e42cd59e66c425 Mon Sep 17 00:00:00 2001 From: Tuomas Hietanen Date: Fri, 2 May 2025 16:27:58 +0100 Subject: [PATCH 2/5] build dependencies update --- build.fsx.lock | 397 ++++++++++++++++++++++++------------------------- 1 file changed, 196 insertions(+), 201 deletions(-) diff --git a/build.fsx.lock b/build.fsx.lock index 9852de4..8eaf78c 100644 --- a/build.fsx.lock +++ b/build.fsx.lock @@ -5,212 +5,202 @@ NUGET BlackFox.VsWhere (1.1) FSharp.Core (>= 4.2.3) Microsoft.Win32.Registry (>= 4.7) - Fake.Api.GitHub (5.22) - FSharp.Core (>= 6.0) - Octokit (>= 0.50) - Fake.Core.CommandLineParsing (5.22) + Fake.Api.GitHub (6.1.3) + FSharp.Core (>= 8.0.301) + Octokit (>= 13.0.1) + Fake.Core.CommandLineParsing (6.1.3) FParsec (>= 1.1.1) - FSharp.Core (>= 6.0) - Fake.Core.Context (5.22) - FSharp.Core (>= 6.0) - Fake.Core.Environment (5.22) - FSharp.Core (>= 6.0) - Fake.Core.FakeVar (5.22) - Fake.Core.Context (>= 5.22) - FSharp.Core (>= 6.0) - Fake.Core.Process (5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.FakeVar (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - FSharp.Core (>= 6.0) - System.Collections.Immutable (>= 5.0) - Fake.Core.ReleaseNotes (5.22) - Fake.Core.SemVer (>= 5.22) - Fake.Core.String (>= 5.22) - FSharp.Core (>= 6.0) - Fake.Core.SemVer (5.22) - FSharp.Core (>= 6.0) - Fake.Core.String (5.22) - FSharp.Core (>= 6.0) - Fake.Core.Target (5.22) - Fake.Core.CommandLineParsing (>= 5.22) - Fake.Core.Context (>= 5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.FakeVar (>= 5.22) - Fake.Core.Process (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) + FSharp.Core (>= 8.0.301) + Fake.Core.Context (6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.Environment (6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.FakeVar (6.1.3) + Fake.Core.Context (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.Process (6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.FakeVar (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + FSharp.Core (>= 8.0.301) + System.Collections.Immutable (>= 8.0) + Fake.Core.ReleaseNotes (6.1.3) + Fake.Core.SemVer (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.SemVer (6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.String (6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.Target (6.1.3) + Fake.Core.CommandLineParsing (>= 6.1.3) + Fake.Core.Context (>= 6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.FakeVar (>= 6.1.3) + Fake.Core.Process (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) FSharp.Control.Reactive (>= 5.0.2) - FSharp.Core (>= 6.0) - Fake.Core.Tasks (5.22) - Fake.Core.Trace (>= 5.22) - FSharp.Core (>= 6.0) - Fake.Core.Trace (5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.FakeVar (>= 5.22) - FSharp.Core (>= 6.0) - Fake.Core.Xml (5.22) - Fake.Core.String (>= 5.22) - FSharp.Core (>= 6.0) - Fake.DotNet.AssemblyInfoFile (5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - FSharp.Core (>= 6.0) - Fake.DotNet.Cli (5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.Process (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.DotNet.MSBuild (>= 5.22) - Fake.DotNet.NuGet (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - FSharp.Core (>= 6.0) + FSharp.Core (>= 8.0.301) + Fake.Core.Tasks (6.1.3) + Fake.Core.Trace (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.Trace (6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.FakeVar (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Core.Xml (6.1.3) + Fake.Core.String (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.DotNet.AssemblyInfoFile (6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.DotNet.Cli (6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.Process (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.DotNet.MSBuild (>= 6.1.3) + Fake.DotNet.NuGet (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + FSharp.Core (>= 8.0.301) Mono.Posix.NETStandard (>= 1.0) - Newtonsoft.Json (>= 13.0.1) - Fake.DotNet.MSBuild (5.22) + Newtonsoft.Json (>= 13.0.3) + Fake.DotNet.MSBuild (6.1.3) BlackFox.VsWhere (>= 1.1) - Fake.Core.Environment (>= 5.22) - Fake.Core.Process (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - FSharp.Core (>= 6.0) - MSBuild.StructuredLogger (>= 2.1.545) - Fake.DotNet.NuGet (5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.Process (>= 5.22) - Fake.Core.SemVer (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Tasks (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.Core.Xml (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - Fake.Net.Http (>= 5.22) - FSharp.Core (>= 6.0) - Newtonsoft.Json (>= 13.0.1) - NuGet.Protocol (>= 5.11) - Fake.DotNet.Paket (5.22) - Fake.Core.Process (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.DotNet.Cli (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - FSharp.Core (>= 6.0) - Fake.IO.FileSystem (5.22) - Fake.Core.String (>= 5.22) - FSharp.Core (>= 6.0) - Fake.Net.Http (5.22) - Fake.Core.Trace (>= 5.22) - FSharp.Core (>= 6.0) - Fake.Tools.Git (5.22) - Fake.Core.Environment (>= 5.22) - Fake.Core.Process (>= 5.22) - Fake.Core.SemVer (>= 5.22) - Fake.Core.String (>= 5.22) - Fake.Core.Trace (>= 5.22) - Fake.IO.FileSystem (>= 5.22) - FSharp.Core (>= 6.0) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.Process (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + FSharp.Core (>= 8.0.301) + MSBuild.StructuredLogger (>= 2.1.815) + Fake.DotNet.NuGet (6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.Process (>= 6.1.3) + Fake.Core.SemVer (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Tasks (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.Core.Xml (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + Fake.Net.Http (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Newtonsoft.Json (>= 13.0.3) + NuGet.Protocol (>= 6.10.1) + Fake.DotNet.Paket (6.1.3) + Fake.Core.Process (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.DotNet.Cli (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.IO.FileSystem (6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Net.Http (6.1.3) + Fake.Core.Trace (>= 6.1.3) + FSharp.Core (>= 8.0.301) + Fake.Tools.Git (6.1.3) + Fake.Core.Environment (>= 6.1.3) + Fake.Core.Process (>= 6.1.3) + Fake.Core.SemVer (>= 6.1.3) + Fake.Core.String (>= 6.1.3) + Fake.Core.Trace (>= 6.1.3) + Fake.IO.FileSystem (>= 6.1.3) + FSharp.Core (>= 8.0.301) FParsec (1.1.1) FSharp.Core (>= 4.3.4) - FSharp.Control.Reactive (5.0.5) - FSharp.Core (>= 4.7.2) - System.Reactive (>= 5.0 < 6.0) - FSharp.Core (6.0.4) + FSharp.Control.Reactive (6.1.2) + FSharp.Core (>= 6.0.7) + System.Reactive (>= 6.0.1) + FSharp.Core (9.0.202) Graphviz.DotLanguage (0.2) - Microsoft.Build (17.2) - Microsoft.Build.Framework (>= 17.2) - Microsoft.NET.StringTools (>= 1.0) - Microsoft.Win32.Registry (>= 4.3) - System.Collections.Immutable (>= 5.0) - System.Configuration.ConfigurationManager (>= 4.7) - System.Reflection.Metadata (>= 1.6) - System.Security.Principal.Windows (>= 4.7) - System.Text.Encoding.CodePages (>= 4.0.1) - System.Text.Json (>= 6.0) - System.Threading.Tasks.Dataflow (>= 6.0) - Microsoft.Build.Framework (17.2) - Microsoft.Win32.Registry (>= 4.3) - System.Security.Permissions (>= 4.7) - Microsoft.Build.Tasks.Core (17.2) - Microsoft.Build.Framework (>= 17.2) - Microsoft.Build.Utilities.Core (>= 17.2) - Microsoft.NET.StringTools (>= 1.0) - Microsoft.Win32.Registry (>= 4.3) - System.CodeDom (>= 4.4) - System.Collections.Immutable (>= 5.0) - System.Reflection.Metadata (>= 1.6) - System.Resources.Extensions (>= 4.6) - System.Security.Cryptography.Pkcs (>= 4.7) - System.Security.Cryptography.Xml (>= 4.7) - System.Security.Permissions (>= 4.7) - System.Threading.Tasks.Dataflow (>= 6.0) - Microsoft.Build.Utilities.Core (17.2) - Microsoft.Build.Framework (>= 17.2) - Microsoft.NET.StringTools (>= 1.0) - Microsoft.Win32.Registry (>= 4.3) - System.Collections.Immutable (>= 5.0) - System.Configuration.ConfigurationManager (>= 4.7) - Microsoft.NET.StringTools (1.0) - System.Memory (>= 4.5.4) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - Microsoft.NETCore.Platforms (6.0.3) + Microsoft.Bcl.AsyncInterfaces (9.0.4) + Microsoft.Bcl.Cryptography (9.0.4) + System.Formats.Asn1 (>= 9.0.4) + System.Memory (>= 4.5.5) + System.Runtime.CompilerServices.Unsafe (>= 6.0) + Microsoft.Build.Framework (17.13.9) + Microsoft.Win32.Registry (>= 5.0) + System.Memory (>= 4.5.5) + System.Runtime.CompilerServices.Unsafe (>= 6.0) + System.Security.Principal.Windows (>= 5.0) + Microsoft.Build.Utilities.Core (17.13.9) + Microsoft.Build.Framework (>= 17.13.9) + Microsoft.NET.StringTools (>= 17.13.9) + Microsoft.Win32.Registry (>= 5.0) + System.Collections.Immutable (>= 8.0) + System.Configuration.ConfigurationManager (>= 8.0) + System.Memory (>= 4.5.5) + System.Runtime.CompilerServices.Unsafe (>= 6.0) + System.Security.Principal.Windows (>= 5.0) + System.Text.Encoding.CodePages (>= 7.0) + Microsoft.NET.StringTools (17.13.9) + System.Memory (>= 4.5.5) + System.Runtime.CompilerServices.Unsafe (>= 6.0) + Microsoft.NETCore.Platforms (7.0.4) Microsoft.NETCore.Targets (5.0) Microsoft.Win32.Registry (5.0) System.Security.AccessControl (>= 5.0) System.Security.Principal.Windows (>= 5.0) - Microsoft.Win32.SystemEvents (6.0.1) - Mono.Cecil (0.11.4) + Mono.Cecil (0.11.6) Mono.Posix.NETStandard (1.0) - MSBuild.StructuredLogger (2.1.669) - Microsoft.Build (>= 16.10) - Microsoft.Build.Framework (>= 16.10) - Microsoft.Build.Tasks.Core (>= 16.10) - Microsoft.Build.Utilities.Core (>= 16.10) - Newtonsoft.Json (13.0.1) - NuGet.Common (6.2) - NuGet.Frameworks (>= 6.2) - NuGet.Configuration (6.2) - NuGet.Common (>= 6.2) + MSBuild.StructuredLogger (2.2.472) + Microsoft.Build.Framework (>= 17.5) + Microsoft.Build.Utilities.Core (>= 17.5) + System.Collections.Immutable (>= 8.0) + System.Memory (>= 4.6) + System.Runtime.CompilerServices.Unsafe (>= 6.1) + Newtonsoft.Json (13.0.3) + NuGet.Common (6.13.2) + NuGet.Frameworks (>= 6.13.2) + System.Collections.Immutable (>= 8.0) + NuGet.Configuration (6.13.2) + NuGet.Common (>= 6.13.2) System.Security.Cryptography.ProtectedData (>= 4.4) - NuGet.Frameworks (6.2) - NuGet.Packaging (6.2) - Newtonsoft.Json (>= 13.0.1) - NuGet.Configuration (>= 6.2) - NuGet.Versioning (>= 6.2) - System.Security.Cryptography.Cng (>= 5.0) - System.Security.Cryptography.Pkcs (>= 5.0) - NuGet.Protocol (6.2) - NuGet.Packaging (>= 6.2) - NuGet.Versioning (6.2) - Octokit (0.51) + NuGet.Frameworks (6.13.2) + NuGet.Packaging (6.13.2) + Newtonsoft.Json (>= 13.0.3) + NuGet.Configuration (>= 6.13.2) + NuGet.Versioning (>= 6.13.2) + System.Formats.Asn1 (>= 8.0.1) + System.Security.Cryptography.Pkcs (>= 6.0.4) + System.Text.Json (>= 8.0.5) + NuGet.Protocol (6.13.2) + NuGet.Packaging (>= 6.13.2) + System.Text.Json (>= 8.0.5) + NuGet.Versioning (6.13.2) + Octokit (14.0) runtime.native.System (4.3.1) Microsoft.NETCore.Platforms (>= 1.1.1) Microsoft.NETCore.Targets (>= 1.1.3) runtime.native.System.IO.Compression (4.3.2) Microsoft.NETCore.Platforms (>= 1.1.1) Microsoft.NETCore.Targets (>= 1.1.3) - System.Buffers (4.5.1) - System.CodeDom (6.0) + System.Buffers (4.6.1) System.Collections (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) System.Runtime (>= 4.3) - System.Collections.Immutable (6.0) + System.Collections.Immutable (9.0.4) + System.Memory (>= 4.5.5) System.Runtime.CompilerServices.Unsafe (>= 6.0) - System.Configuration.ConfigurationManager (6.0) - System.Security.Cryptography.ProtectedData (>= 6.0) - System.Security.Permissions (>= 6.0) + System.Configuration.ConfigurationManager (9.0.4) + System.Security.Cryptography.ProtectedData (>= 9.0.4) System.Diagnostics.Debug (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) System.Runtime (>= 4.3) - System.Drawing.Common (6.0) - Microsoft.Win32.SystemEvents (>= 6.0) - System.Formats.Asn1 (6.0) + System.Formats.Asn1 (9.0.4) + System.Buffers (>= 4.5.1) + System.Memory (>= 4.5.5) System.Globalization (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) @@ -258,21 +248,22 @@ NUGET System.Threading.Tasks (>= 4.3) System.IO.FileSystem.Primitives (4.3) System.Runtime (>= 4.3) - System.Memory (4.5.5) - System.Reactive (5.0) + System.IO.Pipelines (9.0.4) + System.Buffers (>= 4.5.1) + System.Memory (>= 4.5.5) + System.Threading.Tasks.Extensions (>= 4.5.4) + System.Memory (4.6.3) + System.Reactive (6.0.1) System.Reflection (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) System.IO (>= 4.3) System.Reflection.Primitives (>= 4.3) System.Runtime (>= 4.3) - System.Reflection.Metadata (6.0.1) - System.Collections.Immutable (>= 6.0) System.Reflection.Primitives (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) System.Runtime (>= 4.3) - System.Resources.Extensions (6.0) System.Resources.ResourceManager (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) @@ -282,7 +273,7 @@ NUGET System.Runtime (4.3.1) Microsoft.NETCore.Platforms (>= 1.1.1) Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime.CompilerServices.Unsafe (6.0) + System.Runtime.CompilerServices.Unsafe (6.1.2) System.Runtime.Extensions (4.3.1) Microsoft.NETCore.Platforms (>= 1.1.1) Microsoft.NETCore.Targets (>= 1.1.3) @@ -298,30 +289,36 @@ NUGET System.Reflection.Primitives (>= 4.3) System.Runtime (>= 4.3) System.Runtime.Handles (>= 4.3) - System.Security.AccessControl (6.0) + System.Security.AccessControl (6.0.1) System.Security.Cryptography.Cng (5.0) System.Formats.Asn1 (>= 5.0) - System.Security.Cryptography.Pkcs (6.0.1) - System.Formats.Asn1 (>= 6.0) - System.Security.Cryptography.ProtectedData (6.0) - System.Security.Cryptography.Xml (6.0) - System.Security.AccessControl (>= 6.0) - System.Security.Cryptography.Pkcs (>= 6.0) - System.Security.Permissions (6.0) - System.Security.AccessControl (>= 6.0) - System.Windows.Extensions (>= 6.0) + System.Security.Cryptography.Pkcs (9.0.4) + Microsoft.Bcl.Cryptography (>= 9.0.4) + System.Formats.Asn1 (>= 9.0.4) + System.Runtime.CompilerServices.Unsafe (>= 6.0) + System.Security.Cryptography.Cng (>= 5.0) + System.Security.Cryptography.ProtectedData (9.0.4) + System.Memory (>= 4.5.5) System.Security.Principal.Windows (5.0) System.Text.Encoding (4.3) Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) System.Runtime (>= 4.3) - System.Text.Encoding.CodePages (6.0) + System.Text.Encoding.CodePages (9.0.4) + System.Memory (>= 4.5.5) System.Runtime.CompilerServices.Unsafe (>= 6.0) - System.Text.Encodings.Web (6.0) + System.Text.Encodings.Web (9.0.4) + System.Buffers (>= 4.5.1) + System.Memory (>= 4.5.5) System.Runtime.CompilerServices.Unsafe (>= 6.0) - System.Text.Json (6.0.4) + System.Text.Json (9.0.4) + Microsoft.Bcl.AsyncInterfaces (>= 9.0.4) + System.Buffers (>= 4.5.1) + System.IO.Pipelines (>= 9.0.4) + System.Memory (>= 4.5.5) System.Runtime.CompilerServices.Unsafe (>= 6.0) - System.Text.Encodings.Web (>= 6.0) + System.Text.Encodings.Web (>= 9.0.4) + System.Threading.Tasks.Extensions (>= 4.5.4) System.Threading (4.3) System.Runtime (>= 4.3) System.Threading.Tasks (>= 4.3) @@ -329,6 +326,4 @@ NUGET Microsoft.NETCore.Platforms (>= 1.1) Microsoft.NETCore.Targets (>= 1.1) System.Runtime (>= 4.3) - System.Threading.Tasks.Dataflow (6.0) - System.Windows.Extensions (6.0) - System.Drawing.Common (>= 6.0) + System.Threading.Tasks.Extensions (4.6.3) From 1dfcc5184f016558e9d03c93ded4129db2648cfd Mon Sep 17 00:00:00 2001 From: Sergey Tihon Date: Fri, 2 May 2025 19:27:34 +0200 Subject: [PATCH 3/5] fix: update step verison --- .github/workflows/main.yml | 110 ++++++++++++++++++------------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d6de9a..e9ab88f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,43 +3,42 @@ name: Build and Test on: push: branches: - - master + - master pull_request: branches: - - master + - master jobs: - build: name: Build OpenNLP.NET (Windows) runs-on: windows-latest steps: - - uses: actions/checkout@v1 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 3.1.x - - name: Setup .NET 6.0 SDK - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Install local tools - run: dotnet tool restore - - name: Paket Restore - run: dotnet paket restore - - name: Build Tests and Binaries - run: dotnet fake run build.fsx -t "BuildTests" - - name: Upload NuGet Packages - uses: actions/upload-artifact@v3 - with: - name: nuget - path: bin/*.nupkg - - name: Upload Tests - uses: actions/upload-artifact@v3 - with: - name: tests - path: tests - + - uses: actions/checkout@v1 + - name: Setup .NET 3.1 SDK + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 3.1.x + - name: Setup .NET 6.0 SDK + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Install local tools + run: dotnet tool restore + - name: Paket Restore + run: dotnet paket restore + - name: Build Tests and Binaries + run: dotnet fake run build.fsx -t "BuildTests" + - name: Upload NuGet Packages + uses: actions/upload-artifact@v4 + with: + name: nuget + path: bin/*.nupkg + - name: Upload Tests + uses: actions/upload-artifact@v4 + with: + name: tests + path: tests + test: strategy: fail-fast: false @@ -47,30 +46,31 @@ jobs: os: [windows-latest, ubuntu-latest] runs-on: ${{ matrix.os }} needs: - - build + - build steps: - - uses: actions/checkout@v1 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 3.1.x - - name: Setup .NET 6.0 SDK - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Download OpenNLP.NET Tests - uses: actions/download-artifact@v3 - with: - name: tests - path: tests - - name: Install local tools - run: dotnet tool restore - - name: Paket Restore - run: dotnet paket restore - - name: Run Tests - run: dotnet fake run build.fsx -t "RunTests" --single-target - - name: Upload Test Results - uses: actions/upload-artifact@v3 - with: - name: TestResults-${{ matrix.os }} - path: TestResults \ No newline at end of file + - uses: actions/checkout@v1 + - name: Setup .NET 3.1 SDK + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 3.1.x + - name: Setup .NET 6.0 SDK + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Download OpenNLP.NET Tests + uses: actions/download-artifact@v3 + with: + name: tests + path: tests + - name: Install local tools + run: dotnet tool restore + - name: Paket Restore + run: dotnet paket restore + - name: Run Tests + run: dotnet fake run build.fsx -t "RunTests" --single-target + - name: Upload Test Results + uses: actions/upload-artifact@v3 + with: + name: TestResults-${{ matrix.os }} + path: TestResults + From fde1bd5553e5146323c17cd8193256a5190df29a Mon Sep 17 00:00:00 2001 From: Sergey Tihon Date: Fri, 2 May 2025 19:42:07 +0200 Subject: [PATCH 4/5] fix: update step verison --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e9ab88f..89519ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,7 @@ jobs: with: dotnet-version: 6.0.x - name: Download OpenNLP.NET Tests - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: tests path: tests @@ -69,7 +69,7 @@ jobs: - name: Run Tests run: dotnet fake run build.fsx -t "RunTests" --single-target - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: TestResults-${{ matrix.os }} path: TestResults From 84b88e0c6ec97e1923c91d9773b8dc0ba851fe6a Mon Sep 17 00:00:00 2001 From: Tuomas Hietanen Date: Fri, 2 May 2025 18:58:20 +0100 Subject: [PATCH 5/5] Fix for CI: No usable version of libssl was found --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89519ac..1b81001 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, ubuntu-latest] + os: [windows-latest, ubuntu-22.04] runs-on: ${{ matrix.os }} needs: - build