diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 361a0d3..d3e58c7 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,28 +3,21 @@ "isRoot": true, "tools": { "paket": { - "version": "8.0.3", + "version": "9.0.2", "commands": [ "paket" ], "rollForward": false }, "fantomas": { - "version": "6.3.15", + "version": "7.0.3", "commands": [ "fantomas" ], "rollForward": false }, - "pkgchk-cli": { - "version": "0.2.388", - "commands": [ - "pkgchk" - ], - "rollForward": false - }, "dotnet-reportgenerator-globaltool": { - "version": "5.2.3", + "version": "5.4.16", "commands": [ "reportgenerator" ], diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c18836..ae99e49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: uses: actions/setup-dotnet@v4 - name: pkgchk - uses: tonycknight/pkgchk-action@v1.0.16 + uses: tonycknight/pkgchk-action@v1 build: name: Build diff --git a/README.md b/README.md index 08d52e5..fc956fd 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,4 @@ [![Build & Release](https://github.com/tonycknight/microbroker.client/actions/workflows/build.yml/badge.svg)](https://github.com/tonycknight/microbroker.client/actions/workflows/build.yml) -[![Nuget](https://img.shields.io/nuget/v/pkgchk-cli)](https://www.nuget.org/packages/Microbroker.Client/) - A client library for [microbroker](https://github.com/tonycknight/microbroker) \ No newline at end of file diff --git a/src/microbroker.client/DependencyInjection.fs b/src/microbroker.client/DependencyInjection.fs index 083e888..6aa6c76 100644 --- a/src/microbroker.client/DependencyInjection.fs +++ b/src/microbroker.client/DependencyInjection.fs @@ -9,6 +9,4 @@ module DependencyInjection = sc.AddSingleton(config sp) let addServices (sc: IServiceCollection) = - sc - .AddSingleton() - .AddSingleton() + sc.AddSingleton().AddSingleton() diff --git a/tests/microbroker.client.tests/TestUtils.fs b/tests/microbroker.client.tests/TestUtils.fs index ca6afb7..a46eaed 100644 --- a/tests/microbroker.client.tests/TestUtils.fs +++ b/tests/microbroker.client.tests/TestUtils.fs @@ -38,8 +38,7 @@ module internal TestUtils = let httpClientPost (response: HttpRequestResponse) = let http = Substitute.For() - (http.PostAsync (Arg.Any()) (Arg.Any())) - .Returns(Tasks.toTaskResult response) + (http.PostAsync (Arg.Any()) (Arg.Any())).Returns(Tasks.toTaskResult response) |> ignore http