From 58eaeec226938155ae0280f32d5e4826de122ebc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 09:13:36 +0200 Subject: [PATCH] Bump the dependencies (#1625) * Bump the dependencies group with 5 updates * use MEL 8.0.3 * use MSTest meta package * revert Meziantou due to NRE * add a more useful global.json and pin third party action --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Hague --- .github/workflows/build.yml | 8 +------- .github/workflows/docs.yml | 4 +--- Directory.Packages.props | 18 +++++------------- global.json | 6 ++++++ src/Renci.SshNet/Renci.SshNet.csproj | 7 +------ .../Renci.SshNet.IntegrationTests.csproj | 4 +--- .../Renci.SshNet.Tests.csproj | 4 +--- 7 files changed, 16 insertions(+), 35 deletions(-) create mode 100644 global.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e8eb309..6c373e3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,8 +16,6 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.0.x - name: Build Unit Tests .NET run: dotnet build -f net9.0 test/Renci.SshNet.Tests/ @@ -65,8 +63,6 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.0.x - name: Build Solution run: dotnet build Renci.SshNet.sln @@ -118,11 +114,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.0.x - name: Setup WSL2 - uses: Vampire/setup-wsl@v5 + uses: Vampire/setup-wsl@f40fb59d850112c9a292b0218bca8271305b9127 # v5.0.0 with: distribution: Ubuntu-24.04 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c99625e8..6c2d26ae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,10 +27,8 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v5 - - name: Setup .NET 8.0 + - name: Setup .NET uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.x - name: Setup docfx run: dotnet tool update -g docfx diff --git a/Directory.Packages.props b/Directory.Packages.props index 3320e0fd..34016a3f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,21 +8,13 @@ - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - + - - - - - - - - - + + + + diff --git a/global.json b/global.json new file mode 100644 index 00000000..a02bac5a --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "9.0.200", + "rollForward": "latestFeature" + } +} diff --git a/src/Renci.SshNet/Renci.SshNet.csproj b/src/Renci.SshNet/Renci.SshNet.csproj index c6ab62f3..a76bbafe 100644 --- a/src/Renci.SshNet/Renci.SshNet.csproj +++ b/src/Renci.SshNet/Renci.SshNet.csproj @@ -49,12 +49,7 @@ - - - - - - + diff --git a/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj b/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj index e3334796..8755ffb4 100644 --- a/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj +++ b/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj @@ -18,9 +18,7 @@ all - - - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj b/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj index 1f8c5bca..1a7145aa 100644 --- a/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj +++ b/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj @@ -13,9 +13,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - - - + runtime; build; native; contentfiles; analyzers; buildtransitive