Skip to content

Commit cb72bf9

Browse files
authored
V0.4.3/package maintenance (#13)
📦 updated NuGet package definition 👷 transitioned to reusable workflows 💬 updated community health pages ⬆️ bump dependencies
1 parent 24bf76b commit cb72bf9

File tree

6 files changed

+42
-84
lines changed

6 files changed

+42
-84
lines changed

.docfx/Dockerfile.docfx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM nginx:1.27.3-alpine AS base
1+
FROM --platform=$BUILDPLATFORM nginx:1.27.5-alpine AS base
22
RUN rm -rf /usr/share/nginx/html/*
33

4-
FROM codebeltnet/docfx:2.77.0 AS build
4+
FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.3 AS build
55

66
ADD [".", "docfx"]
77

88
RUN cd docfx; \
99
docfx build
1010

11-
FROM base AS final
11+
FROM nginx:1.27.5-alpine AS final
1212
WORKDIR /usr/share/nginx/html
1313
COPY --from=build /build/docfx/wwwroot /usr/share/nginx/html
1414

.github/workflows/pipelines.yml

Lines changed: 21 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -23,92 +23,40 @@ permissions:
2323

2424
jobs:
2525
build:
26-
name: 🛠️ Build
27-
runs-on: ubuntu-22.04
26+
name: call-build
2827
strategy:
2928
matrix:
3029
configuration: [Debug, Release]
31-
framework: [net9.0,net8.0]
32-
outputs:
33-
version: ${{ steps.minver-calculate.outputs.version }}
34-
steps:
35-
- name: Checkout
36-
uses: codebeltnet/git-checkout@v1
37-
38-
- name: Install .NET
39-
uses: codebeltnet/install-dotnet@v1
40-
with:
41-
includePreview: true
42-
43-
- name: Install MinVer
44-
uses: codebeltnet/dotnet-tool-install-minver@v1
45-
46-
- id: minver-calculate
47-
name: Calculate Version
48-
uses: codebeltnet/minver-calculate@v2
49-
50-
- name: Download sharedkernel.snk file
51-
uses: codebeltnet/gcp-download-file@v1
52-
with:
53-
serviceAccountKey: ${{ secrets.GCP_TOKEN }}
54-
bucketName: ${{ secrets.GCP_BUCKETNAME }}
55-
objectName: sharedkernel.snk
56-
57-
- name: Restore Dependencies
58-
uses: codebeltnet/dotnet-restore@v2
59-
60-
- name: Build for ${{ matrix.framework }} (${{ matrix.configuration }})
61-
uses: codebeltnet/dotnet-build@v2
62-
with:
63-
configuration: ${{ matrix.configuration }}
64-
framework: ${{ matrix.framework }}
30+
uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v2
31+
with:
32+
configuration: ${{ matrix.configuration }}
33+
strong-name-key-filename: sharedkernel.snk
34+
secrets: inherit
6535

6636
pack:
67-
name: 📦 Pack
68-
runs-on: ubuntu-22.04
37+
name: call-pack
38+
needs: [build]
6939
strategy:
7040
matrix:
7141
configuration: [Debug, Release]
72-
needs: [build]
73-
steps:
74-
- name: Install .NET
75-
uses: codebeltnet/install-dotnet@v1
76-
with:
77-
includePreview: true
78-
79-
- name: Pack for ${{ matrix.configuration }}
80-
uses: codebeltnet/dotnet-pack@v2
81-
with:
82-
configuration: ${{ matrix.configuration }}
83-
uploadPackedArtifact: true
84-
version: ${{ needs.build.outputs.version }}
42+
uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v2
43+
with:
44+
configuration: ${{ matrix.configuration }}
45+
version: ${{ needs.build.outputs.version }}
8546

8647
test:
87-
name: 🧪 Test
48+
name: call-test
8849
needs: [build]
8950
strategy:
9051
fail-fast: false
9152
matrix:
92-
os: [ubuntu-22.04, windows-2022]
53+
os: [ubuntu-24.04, windows-2022]
9354
configuration: [Debug, Release]
94-
runs-on: ${{ matrix.os }}
95-
steps:
96-
- name: Checkout
97-
uses: codebeltnet/git-checkout@v1
98-
99-
- name: Install .NET
100-
uses: codebeltnet/install-dotnet@v1
101-
with:
102-
includePreview: true
103-
104-
- name: Install .NET Tool - Report Generator
105-
uses: codebeltnet/dotnet-tool-install-reportgenerator@v1
106-
107-
- name: Test with ${{ matrix.configuration }} build
108-
uses: codebeltnet/dotnet-test@v3
109-
with:
110-
configuration: ${{ matrix.configuration }}
111-
buildSwitches: -p:SkipSignAssembly=true
55+
uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v2
56+
with:
57+
configuration: ${{ matrix.configuration }}
58+
runs-on: ${{ matrix.os }}
59+
build-switches: -p:SkipSignAssembly=true
11260

11361
sonarcloud:
11462
name: call-sonarcloud
@@ -138,8 +86,8 @@ jobs:
13886
deploy:
13987
if: github.event_name != 'pull_request'
14088
name: call-nuget
141-
needs: [build,pack,test,sonarcloud,codecov,codeql]
142-
uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1
89+
needs: [build, pack, test, sonarcloud, codecov, codeql]
90+
uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1
14391
with:
14492
version: ${{ needs.build.outputs.version }}
14593
environment: Production

.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.3
2+
Availability: .NET 9 and .NET 8
3+
 
4+
# ALM
5+
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
6+
 
17
Version: 0.4.2
28
Availability: .NET 9 and .NET 8
39

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.3] - 2025-05-29
8+
9+
This is a service update that focuses on package dependencies.
10+
711
## [0.4.2] - 2025-04-19
812

913
This is a service update that focuses on package dependencies.

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.4" />
7-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
8-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
6+
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.5" />
7+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.1" />
8+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
99
<PackageVersion Include="MinVer" Version="6.0.0" />
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" />
10+
<PackageVersion Include="Savvyio.Domain" Version="4.0.3" />
11+
<PackageVersion Include="Savvyio.Extensions.Newtonsoft.Json" Version="4.0.3" />
12+
<PackageVersion Include="Savvyio.Extensions.Text.Json" Version="4.0.3" />
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.2" />
17+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
1818
</ItemGroup>
1919
</Project>

testenvironments.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "Docker-Ubuntu",
1111
"type": "docker",
12-
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203"
12+
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.409-9.0.300"
1313
}
1414
]
1515
}

0 commit comments

Comments
 (0)