From 1979e134512fcef5cfde942926a59633393486bb Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 25 May 2025 18:21:00 +0200 Subject: [PATCH 1/6] :package: updated NuGet package definition --- .../PackageReleaseNotes.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.nuget/Codebelt.Extensions.Globalization/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Globalization/PackageReleaseNotes.txt index b2aa6fe..70fc6f2 100644 --- a/.nuget/Codebelt.Extensions.Globalization/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Globalization/PackageReleaseNotes.txt @@ -1,4 +1,10 @@ -Version 9.0.2 +Version 9.0.3 +Availability: .NET 9, .NET 8 and .NET Standard 2.0 +  +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  +Version 9.0.2 Availability: .NET 9, .NET 8 and .NET Standard 2.0   # ALM From 4cfcc7e295a9bb4c878f156dba64cd29d4ae214e Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 25 May 2025 18:21:25 +0200 Subject: [PATCH 2/6] :arrow_up: bump dependencies --- .docfx/Dockerfile.docfx | 6 +++--- Directory.Packages.props | 8 ++++---- testenvironments.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index 0e78ce5..29307d0 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -1,14 +1,14 @@ -FROM nginx:1.27.3-alpine AS base +FROM --platform=$BUILDPLATFORM nginx:1.27.5-alpine AS base RUN rm -rf /usr/share/nginx/html/* -FROM codebeltnet/docfx:2.77.0 AS build +FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.3 AS build ADD [".", "docfx"] RUN cd docfx; \ docfx build -FROM base AS final +FROM nginx:1.27.5-alpine AS final WORKDIR /usr/share/nginx/html COPY --from=build /build/docfx/wwwroot /usr/share/nginx/html diff --git a/Directory.Packages.props b/Directory.Packages.props index 79919b5..0a73061 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,14 +3,14 @@ true - - - + + + - + \ No newline at end of file diff --git a/testenvironments.json b/testenvironments.json index cb17045..1270327 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -9,7 +9,7 @@ { "name": "Docker-Ubuntu", "type": "docker", - "dockerImage": "gimlichael/ubuntu-testrunner:mono-net8.0.408-9.0.203" + "dockerImage": "gimlichael/ubuntu-testrunner:mono-net8.0.409-9.0.300" } ] } From 2d75005addc6b9d68f210feb944906bafc4ec6a0 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 25 May 2025 18:21:43 +0200 Subject: [PATCH 3/6] :construction_worker: transitioned to reusable workflows --- .github/workflows/pipelines.yml | 100 ++++++++------------------------ 1 file changed, 24 insertions(+), 76 deletions(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index b120915..d602c21 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -20,95 +20,43 @@ on: jobs: build: - name: 🛠️ Build - runs-on: ubuntu-22.04 - timeout-minutes: 15 + name: call-build strategy: matrix: configuration: [Debug, Release] - framework: [net9.0,net8.0,netstandard2.0] - outputs: - version: ${{ steps.minver-calculate.outputs.version }} - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Install MinVer - uses: codebeltnet/dotnet-tool-install-minver@v1 - - - id: minver-calculate - name: Calculate Version - uses: codebeltnet/minver-calculate@v2 - - - name: Download globalization.snk file - uses: codebeltnet/gcp-download-file@v1 - with: - serviceAccountKey: ${{ secrets.GCP_TOKEN }} - bucketName: ${{ secrets.GCP_BUCKETNAME }} - objectName: globalization.snk - - - name: Restore Dependencies - uses: codebeltnet/dotnet-restore@v2 - - - name: Build for ${{ matrix.framework }} (${{ matrix.configuration }}) - uses: codebeltnet/dotnet-build@v2 - with: - configuration: ${{ matrix.configuration }} - framework: ${{ matrix.framework }} + uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v1 + with: + configuration: ${{ matrix.configuration }} + strong-name-key-filename: globalization.snk + secrets: + GCP_TOKEN: ${{ secrets.GCP_TOKEN }} + GCP_BUCKETNAME: ${{ secrets.GCP_BUCKETNAME }} pack: - name: 📦 Pack - runs-on: ubuntu-22.04 - timeout-minutes: 15 + name: call-pack + needs: [build] strategy: matrix: configuration: [Debug, Release] - needs: [build] - steps: - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Pack for ${{ matrix.configuration }} - uses: codebeltnet/dotnet-pack@v2 - with: - configuration: ${{ matrix.configuration }} - uploadPackedArtifact: true - version: ${{ needs.build.outputs.version }} + uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v1 + with: + configuration: ${{ matrix.configuration }} + upload-packed-artifact: true + version: ${{ needs.build.outputs.version }} test: - name: 🧪 Test + name: call-test needs: [build] strategy: fail-fast: false matrix: - os: [ubuntu-22.04, windows-2022] + os: [ubuntu-24.04, windows-2022] configuration: [Debug, Release] - runs-on: ${{ matrix.os }} - timeout-minutes: 15 - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Install .NET Tool - Report Generator - uses: codebeltnet/dotnet-tool-install-reportgenerator@v1 - - - name: Test with ${{ matrix.configuration }} build - uses: codebeltnet/dotnet-test@v3 - with: - configuration: ${{ matrix.configuration }} - buildSwitches: -p:SkipSignAssembly=true + uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v1 + with: + configuration: ${{ matrix.configuration }} + runs-on: ${{ matrix.os }} + build-switches: -p:SkipSignAssembly=true sonarcloud: name: call-sonarcloud @@ -136,8 +84,8 @@ jobs: deploy: if: github.event_name != 'pull_request' name: call-nuget - needs: [build,pack,test,sonarcloud,codecov,codeql] - uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1 + needs: [build, pack, test, sonarcloud, codecov, codeql] + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1 with: version: ${{ needs.build.outputs.version }} environment: Production From 803d47d26ec6d8db0e2d862f866299007829fe7c Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 25 May 2025 18:21:49 +0200 Subject: [PATCH 4/6] :speech_balloon: updated community health pages --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5072c50..ebffb8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba > [!NOTE] > Changelog entries prior to version 9.0.1 was migrated from previous versions of Cuemon.Extensions.Globalization. +## [9.0.3] - 2025-05-25 + +This is a service update that focuses on package dependencies. + ## [9.0.2] - 2025-04-16 This is a service update that focuses on package dependencies. From 1cd6f3ab3a2dcd509d97054705538360e4120c73 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 25 May 2025 18:27:43 +0200 Subject: [PATCH 5/6] fix --- .github/workflows/pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index d602c21..eebb281 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -54,6 +54,7 @@ jobs: configuration: [Debug, Release] uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v1 with: + projects: test/**/*.csproj configuration: ${{ matrix.configuration }} runs-on: ${{ matrix.os }} build-switches: -p:SkipSignAssembly=true From 3f0793cf6a2009a26f67aa0b3ad635f120fd28b5 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sun, 25 May 2025 18:32:04 +0200 Subject: [PATCH 6/6] fix --- .github/workflows/pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index eebb281..d16d96a 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -26,6 +26,7 @@ jobs: configuration: [Debug, Release] uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v1 with: + projects: src/**/*.csproj configuration: ${{ matrix.configuration }} strong-name-key-filename: globalization.snk secrets: