Skip to content

Commit 24bf76b

Browse files
authored
⬆️ bump dependencies (#12)
⬆️ bump dependencies 🔥 housekeeping 👷 transition towards reusable workflows 📦 updated NuGet package definition 💬 updated community health pages
1 parent 4362c5f commit 24bf76b

File tree

9 files changed

+67
-92
lines changed

9 files changed

+67
-92
lines changed

.codecov/codecov.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/pipelines.yml

Lines changed: 29 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818
- Debug
1919
- Release
2020

21+
permissions:
22+
contents: read
23+
2124
jobs:
2225
build:
2326
name: 🛠️ Build
@@ -108,93 +111,40 @@ jobs:
108111
buildSwitches: -p:SkipSignAssembly=true
109112

110113
sonarcloud:
111-
name: 🔬 Code Quality Analysis
114+
name: call-sonarcloud
112115
needs: [build,test]
113-
runs-on: ubuntu-22.04
114-
steps:
115-
- name: Checkout
116-
uses: codebeltnet/git-checkout@v1
117-
118-
- name: Install .NET
119-
uses: codebeltnet/install-dotnet@v1
120-
with:
121-
includePreview: true
122-
123-
- name: Install .NET Tool - Sonar Scanner
124-
uses: codebeltnet/dotnet-tool-install-sonarscanner@v1
125-
126-
- name: Restore Dependencies
127-
uses: codebeltnet/dotnet-restore@v2
128-
129-
- name: Run SonarCloud Analysis
130-
uses: codebeltnet/sonarcloud-scan@v1
131-
with:
132-
token: ${{ secrets.SONAR_TOKEN }}
133-
organization: geekle
134-
projectKey: sharedkernel
135-
version: ${{ needs.build.outputs.version }}
136-
137-
- name: Build
138-
uses: codebeltnet/dotnet-build@v2
139-
with:
140-
buildSwitches: -p:SkipSignAssembly=true
141-
uploadBuildArtifact: false
142-
143-
- name: Finalize SonarCloud Analysis
144-
uses: codebeltnet/sonarcloud-scan-finalize@v1
145-
with:
146-
token: ${{ secrets.SONAR_TOKEN }}
116+
uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v1
117+
with:
118+
organization: geekle
119+
projectKey: sharedkernel
120+
version: ${{ needs.build.outputs.version }}
121+
secrets: inherit
147122

148123
codecov:
149-
name: 📊 Code Coverage Analysis
124+
name: call-codecov
150125
needs: [build,test]
151-
runs-on: ubuntu-22.04
152-
steps:
153-
- name: Checkout
154-
uses: codebeltnet/git-checkout@v1
155-
156-
- name: Run CodeCov Analysis
157-
uses: codebeltnet/codecov-scan@v1
158-
with:
159-
token: ${{ secrets.CODECOV_TOKEN }}
160-
repository: codebeltnet/shared-kernel
126+
uses: codebeltnet/jobs-codecov/.github/workflows/default.yml@v1
127+
with:
128+
repository: codebeltnet/shared-kernel
129+
secrets: inherit
161130

162131
codeql:
163-
name: 🛡️ Security Analysis
132+
name: call-codeql
164133
needs: [build,test]
165-
runs-on: ubuntu-22.04
166-
steps:
167-
- name: Checkout
168-
uses: codebeltnet/git-checkout@v1
169-
170-
- name: Install .NET
171-
uses: codebeltnet/install-dotnet@v1
172-
with:
173-
includePreview: true
174-
175-
- name: Restore Dependencies
176-
uses: codebeltnet/dotnet-restore@v2
177-
178-
- name: Prepare CodeQL SAST Analysis
179-
uses: codebeltnet/codeql-scan@v1
180-
181-
- name: Build
182-
uses: codebeltnet/dotnet-build@v2
183-
with:
184-
buildSwitches: -p:SkipSignAssembly=true
185-
uploadBuildArtifact: false
186-
187-
- name: Finalize CodeQL SAST Analysis
188-
uses: codebeltnet/codeql-scan-finalize@v1
134+
uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v1
135+
permissions:
136+
security-events: write
189137

190138
deploy:
191139
if: github.event_name != 'pull_request'
192-
name: 🚀 Deploy v${{ needs.build.outputs.version }}
193-
runs-on: ubuntu-22.04
140+
name: call-nuget
194141
needs: [build,pack,test,sonarcloud,codecov,codeql]
195-
environment: Production
196-
steps:
197-
- uses: codebeltnet/nuget-push@v1
198-
with:
199-
token: ${{ secrets.NUGET_TOKEN }}
200-
configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }}
142+
uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1
143+
with:
144+
version: ${{ needs.build.outputs.version }}
145+
environment: Production
146+
configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }}
147+
permissions:
148+
contents: write
149+
packages: write
150+
secrets: inherit

.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version: 0.4.2
2+
Availability: .NET 9 and .NET 8
3+
 
4+
# ALM
5+
- CHANGED Dependencies to latest and greatest with respect to TFMs
6+
 
17
Version: 0.4.1
28
Availability: .NET 9 and .NET 8
39

.nuget/Codebelt.SharedKernel/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@
33
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.
44

55
Essential code for your ever growing toolbelt of code.
6+
7+
## Savvyio.Domain
8+
9+
Provides the fundamental abstractions to work with the concepts of DDD (Domain Driven Design), that includes, but is not limited to:
10+
11+
- AggregateRoot
12+
- Entity
13+
- ValueObject
14+
- DomainEvent
15+
- DomainException
16+
- Repository Pattern
17+
- Unit of Work Pattern
18+
19+
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.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
44

55
For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder.
66

7+
## [0.4.2] - 2025-04-19
8+
9+
This is a service update that focuses on package dependencies.
10+
711
## [0.4.1] - 2025-01-31
812

913
Purely an ALM release. No changes to the codebase.

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
<PackageReference Include="Microsoft.NET.Test.Sdk" />
6262
<PackageReference Include="xunit" />
6363
<PackageReference Include="xunit.runner.console" />
64-
<PackageReference Include="xunit.runner.visualstudio" />
64+
<PackageReference Include="xunit.runner.visualstudio">
65+
<PrivateAssets>all</PrivateAssets>
66+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
67+
</PackageReference>
6568
<PackageReference Include="coverlet.msbuild">
6669
<PrivateAssets>all</PrivateAssets>
6770
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Directory.Packages.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.1" />
7-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="9.0.1" />
8-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
6+
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.4" />
7+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
8+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
99
<PackageVersion Include="MinVer" Version="6.0.0" />
10-
<PackageVersion Include="Savvyio.Domain" Version="4.0.1" />
11-
<PackageVersion Include="Savvyio.Extensions.Newtonsoft.Json" Version="4.0.1" />
12-
<PackageVersion Include="Savvyio.Extensions.Text.Json" Version="4.0.1" />
10+
<PackageVersion Include="Savvyio.Domain" Version="4.0.2" />
11+
<PackageVersion Include="Savvyio.Extensions.Newtonsoft.Json" Version="4.0.2" />
12+
<PackageVersion Include="Savvyio.Extensions.Text.Json" Version="4.0.2" />
1313
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
1414
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
1515
<PackageVersion Include="xunit" Version="2.9.3" />
1616
<PackageVersion Include="xunit.runner.console" Version="2.9.3" />
17-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.1" />
17+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
1818
</ItemGroup>
1919
</Project>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Provides the fundamental abstractions to work with the concepts of DDD (Domain D
2020
- Repository Pattern
2121
- Unit of Work Pattern
2222

23-
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).
23+
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.
2424

2525
### NuGet Package
2626

testenvironments.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{
55
"name": "WSL-Ubuntu",
66
"type": "wsl",
7-
"wslDistribution": "Ubuntu-22.04"
7+
"wslDistribution": "Ubuntu-24.04"
88
},
99
{
1010
"name": "Docker-Ubuntu",
1111
"type": "docker",
12-
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.405-9.0.102"
12+
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203"
1313
}
1414
]
1515
}

0 commit comments

Comments
 (0)