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 944cfc125..dff6ba2a1 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 cf3ef0a26..370d250f0 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 f532e615a..a07bc9fea 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 02c3567bf..72fe265da 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 8d681c923..471c83b2f 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 e8f4356d6..d231a4bb1 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 cdefe3b02..df43d6caf 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 1ff4569e6..41cfded91 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 e199ee073..34a0199da 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 9f8eecd96..24bcfb2fb 100644 --- a/test/Spectre.Console.Tests/Unit/Widgets/ProgressBarTests.cs +++ b/test/Spectre.Console.Tests/Unit/Widgets/ProgressBarTests.cs @@ -38,7 +38,7 @@ public async Task Should_Render_ValueFormatted() Value = 9000, MaxValue = 9000, ShowValue = true, - ValueFormatter = (value, _) => value.ToString("N0"), + ValueFormatter = (value, _) => value.ToString("N0", CultureInfo.InvariantCulture), }; // When