From e13410861d58a1148fa24877b7be6156d316a9a5 Mon Sep 17 00:00:00 2001 From: Patrik Svensson Date: Tue, 13 Feb 2024 09:29:34 +0100 Subject: [PATCH] Update dependencies to latest version --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/publish.yaml | 12 ++++++------ examples/Cli/Injection/Injection.csproj | 2 +- examples/Cli/Logging/Logging.csproj | 6 +++--- examples/Console/Columns/Columns.csproj | 2 +- examples/Console/Progress/Progress.csproj | 2 +- examples/Console/Status/Status.csproj | 2 +- .../Spectre.Console.Cli.Tests.csproj | 7 ++----- .../Spectre.Console.Tests.csproj | 7 ++----- .../Unit/Widgets/ProgressBarTests.cs | 2 +- 10 files changed, 21 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 944cfc1..dff6ba2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,12 +18,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 6.0.x @@ -38,7 +38,7 @@ jobs: - name: Upload Verify Test Results if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: verify-test-results path: | diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index cf3ef0a..370d250 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -24,12 +24,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 6.0.x @@ -54,20 +54,20 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '16' - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: npm-${{ hashFiles('package-lock.json') }} diff --git a/examples/Cli/Injection/Injection.csproj b/examples/Cli/Injection/Injection.csproj index f532e61..a07bc9f 100644 --- a/examples/Cli/Injection/Injection.csproj +++ b/examples/Cli/Injection/Injection.csproj @@ -11,7 +11,7 @@ - + diff --git a/examples/Cli/Logging/Logging.csproj b/examples/Cli/Logging/Logging.csproj index 02c3567..72fe265 100644 --- a/examples/Cli/Logging/Logging.csproj +++ b/examples/Cli/Logging/Logging.csproj @@ -12,9 +12,9 @@ - - - + + + diff --git a/examples/Console/Columns/Columns.csproj b/examples/Console/Columns/Columns.csproj index 8d681c9..471c83b 100644 --- a/examples/Console/Columns/Columns.csproj +++ b/examples/Console/Columns/Columns.csproj @@ -9,7 +9,7 @@ - + diff --git a/examples/Console/Progress/Progress.csproj b/examples/Console/Progress/Progress.csproj index e8f4356..d231a4b 100644 --- a/examples/Console/Progress/Progress.csproj +++ b/examples/Console/Progress/Progress.csproj @@ -9,7 +9,7 @@ - + diff --git a/examples/Console/Status/Status.csproj b/examples/Console/Status/Status.csproj index cdefe3b..df43d6c 100644 --- a/examples/Console/Status/Status.csproj +++ b/examples/Console/Status/Status.csproj @@ -9,7 +9,7 @@ - + diff --git a/test/Spectre.Console.Cli.Tests/Spectre.Console.Cli.Tests.csproj b/test/Spectre.Console.Cli.Tests/Spectre.Console.Cli.Tests.csproj index 1ff4569..41cfded 100644 --- a/test/Spectre.Console.Cli.Tests/Spectre.Console.Cli.Tests.csproj +++ b/test/Spectre.Console.Cli.Tests/Spectre.Console.Cli.Tests.csproj @@ -10,13 +10,10 @@ - - - - + - + all diff --git a/test/Spectre.Console.Tests/Spectre.Console.Tests.csproj b/test/Spectre.Console.Tests/Spectre.Console.Tests.csproj index e199ee0..34a0199 100644 --- a/test/Spectre.Console.Tests/Spectre.Console.Tests.csproj +++ b/test/Spectre.Console.Tests/Spectre.Console.Tests.csproj @@ -18,13 +18,10 @@ - - - - + - + all diff --git a/test/Spectre.Console.Tests/Unit/Widgets/ProgressBarTests.cs b/test/Spectre.Console.Tests/Unit/Widgets/ProgressBarTests.cs index 9f8eecd..24bcfb2 100644 --- a/test/Spectre.Console.Tests/Unit/Widgets/ProgressBarTests.cs +++ b/test/Spectre.Console.Tests/Unit/Widgets/ProgressBarTests.cs @@ -38,7 +38,7 @@ public class ProgressBarTests Value = 9000, MaxValue = 9000, ShowValue = true, - ValueFormatter = (value, _) => value.ToString("N0"), + ValueFormatter = (value, _) => value.ToString("N0", CultureInfo.InvariantCulture), }; // When