From 090b0fb09e26bad4fa6ef9ec5e29dd89c47c25e6 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 3 Apr 2025 17:53:41 +0200 Subject: [PATCH 1/6] :arrow_up: bump dependencies --- Directory.Build.props | 5 ++++- Directory.Packages.props | 8 ++++---- testenvironments.json | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 46df08e..465d30b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -61,7 +61,10 @@ - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Directory.Packages.props b/Directory.Packages.props index cf5d700..947defe 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,9 +3,9 @@ true - - - + + + @@ -14,6 +14,6 @@ - + \ No newline at end of file diff --git a/testenvironments.json b/testenvironments.json index c017c2d..328e82b 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -4,12 +4,12 @@ { "name": "WSL-Ubuntu", "type": "wsl", - "wslDistribution": "Ubuntu-22.04" + "wslDistribution": "Ubuntu-24.04" }, { "name": "Docker-Ubuntu", "type": "docker", - "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.405-9.0.102" + "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.407-9.0.202" } ] } From 03d9e3b0ce2c30816ac50d93a877c25bbd6a8c1f Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sat, 19 Apr 2025 13:25:05 +0200 Subject: [PATCH 2/6] :fire: housekeeping --- .codecov/codecov.yml | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .codecov/codecov.yml diff --git a/.codecov/codecov.yml b/.codecov/codecov.yml deleted file mode 100644 index c0a0037..0000000 --- a/.codecov/codecov.yml +++ /dev/null @@ -1,2 +0,0 @@ -ignore: - - "test" \ No newline at end of file From 83afa08bc0040d88cd0788f3603decc024577c68 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sat, 19 Apr 2025 13:25:19 +0200 Subject: [PATCH 3/6] :construction_worker: transition towards reusable workflows --- .github/workflows/pipelines.yml | 108 +++++++++----------------------- 1 file changed, 29 insertions(+), 79 deletions(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index c3b3068..8729d0b 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -18,6 +18,9 @@ on: - Debug - Release +permissions: + contents: read + jobs: build: name: 🛠️ Build @@ -108,93 +111,40 @@ jobs: buildSwitches: -p:SkipSignAssembly=true sonarcloud: - name: 🔬 Code Quality Analysis + name: call-sonarcloud needs: [build,test] - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Install .NET Tool - Sonar Scanner - uses: codebeltnet/dotnet-tool-install-sonarscanner@v1 - - - name: Restore Dependencies - uses: codebeltnet/dotnet-restore@v2 - - - name: Run SonarCloud Analysis - uses: codebeltnet/sonarcloud-scan@v1 - with: - token: ${{ secrets.SONAR_TOKEN }} - organization: geekle - projectKey: sharedkernel - version: ${{ needs.build.outputs.version }} - - - name: Build - uses: codebeltnet/dotnet-build@v2 - with: - buildSwitches: -p:SkipSignAssembly=true - uploadBuildArtifact: false - - - name: Finalize SonarCloud Analysis - uses: codebeltnet/sonarcloud-scan-finalize@v1 - with: - token: ${{ secrets.SONAR_TOKEN }} + uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v1 + with: + organization: geekle + projectKey: sharedkernel + version: ${{ needs.build.outputs.version }} + secrets: inherit codecov: - name: 📊 Code Coverage Analysis + name: call-codecov needs: [build,test] - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Run CodeCov Analysis - uses: codebeltnet/codecov-scan@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - repository: codebeltnet/shared-kernel + uses: codebeltnet/jobs-codecov/.github/workflows/default.yml@v1 + with: + repository: codebeltnet/shared-kernel + secrets: inherit codeql: - name: 🛡️ Security Analysis + name: call-codeql needs: [build,test] - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Restore Dependencies - uses: codebeltnet/dotnet-restore@v2 - - - name: Prepare CodeQL SAST Analysis - uses: codebeltnet/codeql-scan@v1 - - - name: Build - uses: codebeltnet/dotnet-build@v2 - with: - buildSwitches: -p:SkipSignAssembly=true - uploadBuildArtifact: false - - - name: Finalize CodeQL SAST Analysis - uses: codebeltnet/codeql-scan-finalize@v1 + uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v1 + permissions: + security-events: write deploy: if: github.event_name != 'pull_request' - name: 🚀 Deploy v${{ needs.build.outputs.version }} - runs-on: ubuntu-22.04 + name: call-nuget needs: [build,pack,test,sonarcloud,codecov,codeql] - environment: Production - steps: - - uses: codebeltnet/nuget-push@v1 - with: - token: ${{ secrets.NUGET_TOKEN }} - configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }} + uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1 + with: + version: ${{ needs.build.outputs.version }} + environment: Production + configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }} + permissions: + contents: write + packages: write + secrets: inherit From 8b7864a07dc2376091cef61dce2635f706325990 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sat, 19 Apr 2025 13:25:27 +0200 Subject: [PATCH 4/6] :package: updated NuGet package definition --- .../Codebelt.SharedKernel/PackageReleaseNotes.txt | 6 ++++++ .nuget/Codebelt.SharedKernel/README.md | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt b/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt index 8427f89..ccf0ad0 100644 --- a/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 0.4.2 +Availability: .NET 9 and .NET 8 +  +# ALM +- CHANGED Dependencies to latest and greatest with respect to TFMs +  Version: 0.4.1 Availability: .NET 9 and .NET 8   diff --git a/.nuget/Codebelt.SharedKernel/README.md b/.nuget/Codebelt.SharedKernel/README.md index c073b66..eddc185 100644 --- a/.nuget/Codebelt.SharedKernel/README.md +++ b/.nuget/Codebelt.SharedKernel/README.md @@ -3,3 +3,17 @@ An open-source project (MIT license) offering a lightweight .NET library with essential components for implementing the shared kernel pattern within the context of Domain-Driven Design (DDD). It provides generic and reusable (Single) Value Objects utilizing the [Savvyio.Domain](https://www.nuget.org/packages/Savvyio.Domain) package for fundamental classes, records and interfaces. Essential code for your ever growing toolbelt of code. + +## Savvyio.Domain + +Provides the fundamental abstractions to work with the concepts of DDD (Domain Driven Design), that includes, but is not limited to: + +- AggregateRoot +- Entity +- ValueObject +- DomainEvent +- DomainException +- Repository Pattern +- Unit of Work Pattern + +Check out the repository for [Savvy I/O](https://github.com/codebeltnet/savvyio) for the complete source code (which is also open-source project and available under MIT license) and opt-in for features such as CQRS and Event Sourcing. Read more about that project and its components on the [Savvy I/O](https://www.savvyio.net/) website. From c683fcecc63338f05eba212478d4d70b8681ac3d Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sat, 19 Apr 2025 13:25:40 +0200 Subject: [PATCH 5/6] :arrow_up: bump dependencies --- Directory.Packages.props | 10 +++++----- testenvironments.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 947defe..4414339 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,13 +3,13 @@ true - - + + - - - + + + diff --git a/testenvironments.json b/testenvironments.json index 328e82b..095d438 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -9,7 +9,7 @@ { "name": "Docker-Ubuntu", "type": "docker", - "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.407-9.0.202" + "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203" } ] } From 2efbfe47782781f6822dd23d9dc3098129144da6 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Sat, 19 Apr 2025 13:25:48 +0200 Subject: [PATCH 6/6] :speech_balloon: updated community health pages --- CHANGELOG.md | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d50959..2d449f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder. +## [0.4.2] - 2025-04-19 + +This is a service update that focuses on package dependencies. + ## [0.4.1] - 2025-01-31 Purely an ALM release. No changes to the codebase. diff --git a/README.md b/README.md index da52acd..75dfbb5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Provides the fundamental abstractions to work with the concepts of DDD (Domain D - Repository Pattern - Unit of Work Pattern -Check out the repository for [Savvy I/O](https://github.com/codebeltnet/savvyio) for the complete source code (which is also open-source project and available under MIT license). +Check out the repository for [Savvy I/O](https://github.com/codebeltnet/savvyio) for the complete source code (which is also open-source project and available under MIT license) and opt-in for features such as CQRS and Event Sourcing. Read more about that project and its components on the [Savvy I/O](https://www.savvyio.net/) website. ### NuGet Package