From 0f0f692d9a6de96cc09db609f595bcdf7622afdb Mon Sep 17 00:00:00 2001 From: samatstarion Date: Sat, 25 Jan 2025 20:27:36 +0100 Subject: [PATCH] update test dependencies --- .github/workflows/CodeQuality.yml | 19 ++++++++++++++++++- .../CDP4Common.NetCore.Tests.csproj | 10 +++++----- CDP4Common.Tests/CDP4Common.Tests.csproj | 10 +++++----- .../CDP4Dal.NetCore.Tests.csproj | 10 +++++----- CDP4Dal.Tests/CDP4Dal.Tests.csproj | 10 +++++----- .../CDP4JsonFileDal.NetCore.Tests.csproj | 10 +++++----- .../CDP4JsonFileDal.Tests.csproj | 10 +++++----- .../CDP4JsonSerializer.NetCore.Tests.csproj | 10 +++++----- .../CDP4JsonSerializer.Tests.csproj | 10 +++++----- .../CDP4MessagePackSerializer.Tests.csproj | 10 +++++----- .../CDP4Reporting.Tests.csproj | 10 +++++----- .../CDP4RequirementsVerification.Tests.csproj | 10 +++++----- .../CDP4Rules.NetCore.Tests.csproj | 10 +++++----- .../CDP4ServicesDal.NetCore.Tests.csproj | 10 +++++----- .../CDP4ServicesDal.Tests.csproj | 10 +++++----- .../CDP4ServicesMessaging.Tests.csproj | 10 +++++----- CDP4Web.Tests/CDP4Web.Tests.csproj | 10 +++++----- .../CDP4WspDal.NetCore.Tests.csproj | 10 +++++----- CDP4WspDal.Tests/CDP4WspDal.Tests.csproj | 10 +++++----- 19 files changed, 108 insertions(+), 91 deletions(-) diff --git a/.github/workflows/CodeQuality.yml b/.github/workflows/CodeQuality.yml index 25f5ff5d..9412c0af 100644 --- a/.github/workflows/CodeQuality.yml +++ b/.github/workflows/CodeQuality.yml @@ -9,20 +9,37 @@ jobs: build: name: Build runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + + - name: Cache NuGet Packages + uses: actions/cache@v3 + with: + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} + restore-keys: | + ${{ runner.os }}-nuget- + + - name: Cache SonarQube + uses: actions/cache@v3 + with: + path: ~/.dotnet/tools + key: ${{ runner.os }}-sonarscanner + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' overwrite-settings: false + - name: Setup dotnet uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: install dotnet-reportgenerator-globaltool run: dotnet tool install --global dotnet-reportgenerator-globaltool diff --git a/CDP4Common.NetCore.Tests/CDP4Common.NetCore.Tests.csproj b/CDP4Common.NetCore.Tests/CDP4Common.NetCore.Tests.csproj index 258bb07e..7ac10287 100644 --- a/CDP4Common.NetCore.Tests/CDP4Common.NetCore.Tests.csproj +++ b/CDP4Common.NetCore.Tests/CDP4Common.NetCore.Tests.csproj @@ -14,19 +14,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4Common.Tests/CDP4Common.Tests.csproj b/CDP4Common.Tests/CDP4Common.Tests.csproj index 643e8d26..4da8dbfa 100644 --- a/CDP4Common.Tests/CDP4Common.Tests.csproj +++ b/CDP4Common.Tests/CDP4Common.Tests.csproj @@ -17,19 +17,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4Dal.NetCore.Tests/CDP4Dal.NetCore.Tests.csproj b/CDP4Dal.NetCore.Tests/CDP4Dal.NetCore.Tests.csproj index 032f1813..2ce38627 100644 --- a/CDP4Dal.NetCore.Tests/CDP4Dal.NetCore.Tests.csproj +++ b/CDP4Dal.NetCore.Tests/CDP4Dal.NetCore.Tests.csproj @@ -16,19 +16,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4Dal.Tests/CDP4Dal.Tests.csproj b/CDP4Dal.Tests/CDP4Dal.Tests.csproj index 9b1f57b1..cb4c44c3 100644 --- a/CDP4Dal.Tests/CDP4Dal.Tests.csproj +++ b/CDP4Dal.Tests/CDP4Dal.Tests.csproj @@ -17,19 +17,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4JsonFileDal.NetCore.Tests/CDP4JsonFileDal.NetCore.Tests.csproj b/CDP4JsonFileDal.NetCore.Tests/CDP4JsonFileDal.NetCore.Tests.csproj index 37be5d68..9a50a3ed 100644 --- a/CDP4JsonFileDal.NetCore.Tests/CDP4JsonFileDal.NetCore.Tests.csproj +++ b/CDP4JsonFileDal.NetCore.Tests/CDP4JsonFileDal.NetCore.Tests.csproj @@ -22,19 +22,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4JsonFileDal.Tests/CDP4JsonFileDal.Tests.csproj b/CDP4JsonFileDal.Tests/CDP4JsonFileDal.Tests.csproj index 329ba173..7c095139 100644 --- a/CDP4JsonFileDal.Tests/CDP4JsonFileDal.Tests.csproj +++ b/CDP4JsonFileDal.Tests/CDP4JsonFileDal.Tests.csproj @@ -22,19 +22,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4JsonSerializer.NetCore.Tests/CDP4JsonSerializer.NetCore.Tests.csproj b/CDP4JsonSerializer.NetCore.Tests/CDP4JsonSerializer.NetCore.Tests.csproj index be855025..6d9f9a16 100644 --- a/CDP4JsonSerializer.NetCore.Tests/CDP4JsonSerializer.NetCore.Tests.csproj +++ b/CDP4JsonSerializer.NetCore.Tests/CDP4JsonSerializer.NetCore.Tests.csproj @@ -16,19 +16,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4JsonSerializer.Tests/CDP4JsonSerializer.Tests.csproj b/CDP4JsonSerializer.Tests/CDP4JsonSerializer.Tests.csproj index 7617d3d1..b3b2c64e 100644 --- a/CDP4JsonSerializer.Tests/CDP4JsonSerializer.Tests.csproj +++ b/CDP4JsonSerializer.Tests/CDP4JsonSerializer.Tests.csproj @@ -16,19 +16,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4MessagePackSerializer.Tests/CDP4MessagePackSerializer.Tests.csproj b/CDP4MessagePackSerializer.Tests/CDP4MessagePackSerializer.Tests.csproj index debc6f9a..5230c252 100644 --- a/CDP4MessagePackSerializer.Tests/CDP4MessagePackSerializer.Tests.csproj +++ b/CDP4MessagePackSerializer.Tests/CDP4MessagePackSerializer.Tests.csproj @@ -10,19 +10,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4Reporting.Tests/CDP4Reporting.Tests.csproj b/CDP4Reporting.Tests/CDP4Reporting.Tests.csproj index 03c7802a..b9064f90 100644 --- a/CDP4Reporting.Tests/CDP4Reporting.Tests.csproj +++ b/CDP4Reporting.Tests/CDP4Reporting.Tests.csproj @@ -28,19 +28,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4RequirementsVerification.Tests/CDP4RequirementsVerification.Tests.csproj b/CDP4RequirementsVerification.Tests/CDP4RequirementsVerification.Tests.csproj index 3504ebc5..2a3a7601 100644 --- a/CDP4RequirementsVerification.Tests/CDP4RequirementsVerification.Tests.csproj +++ b/CDP4RequirementsVerification.Tests/CDP4RequirementsVerification.Tests.csproj @@ -11,19 +11,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4Rules.NetCore.Tests/CDP4Rules.NetCore.Tests.csproj b/CDP4Rules.NetCore.Tests/CDP4Rules.NetCore.Tests.csproj index 0d3a282e..a59bc393 100644 --- a/CDP4Rules.NetCore.Tests/CDP4Rules.NetCore.Tests.csproj +++ b/CDP4Rules.NetCore.Tests/CDP4Rules.NetCore.Tests.csproj @@ -16,19 +16,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4ServicesDal.NetCore.Tests/CDP4ServicesDal.NetCore.Tests.csproj b/CDP4ServicesDal.NetCore.Tests/CDP4ServicesDal.NetCore.Tests.csproj index 4ec60558..5fc9e7c6 100644 --- a/CDP4ServicesDal.NetCore.Tests/CDP4ServicesDal.NetCore.Tests.csproj +++ b/CDP4ServicesDal.NetCore.Tests/CDP4ServicesDal.NetCore.Tests.csproj @@ -18,19 +18,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4ServicesDal.Tests/CDP4ServicesDal.Tests.csproj b/CDP4ServicesDal.Tests/CDP4ServicesDal.Tests.csproj index 15478bec..47ac9b28 100644 --- a/CDP4ServicesDal.Tests/CDP4ServicesDal.Tests.csproj +++ b/CDP4ServicesDal.Tests/CDP4ServicesDal.Tests.csproj @@ -18,19 +18,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4ServicesMessaging.Tests/CDP4ServicesMessaging.Tests.csproj b/CDP4ServicesMessaging.Tests/CDP4ServicesMessaging.Tests.csproj index 2e36d34d..d5f368ee 100644 --- a/CDP4ServicesMessaging.Tests/CDP4ServicesMessaging.Tests.csproj +++ b/CDP4ServicesMessaging.Tests/CDP4ServicesMessaging.Tests.csproj @@ -10,19 +10,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4Web.Tests/CDP4Web.Tests.csproj b/CDP4Web.Tests/CDP4Web.Tests.csproj index 70365798..78a53b87 100644 --- a/CDP4Web.Tests/CDP4Web.Tests.csproj +++ b/CDP4Web.Tests/CDP4Web.Tests.csproj @@ -16,19 +16,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4WspDal.NetCore.Tests/CDP4WspDal.NetCore.Tests.csproj b/CDP4WspDal.NetCore.Tests/CDP4WspDal.NetCore.Tests.csproj index 0edea074..a5b832d9 100644 --- a/CDP4WspDal.NetCore.Tests/CDP4WspDal.NetCore.Tests.csproj +++ b/CDP4WspDal.NetCore.Tests/CDP4WspDal.NetCore.Tests.csproj @@ -18,19 +18,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CDP4WspDal.Tests/CDP4WspDal.Tests.csproj b/CDP4WspDal.Tests/CDP4WspDal.Tests.csproj index a9061089..71cf6989 100644 --- a/CDP4WspDal.Tests/CDP4WspDal.Tests.csproj +++ b/CDP4WspDal.Tests/CDP4WspDal.Tests.csproj @@ -23,19 +23,19 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive