Skip to content

Commit a7802c3

Browse files
authored
V9.0.3/package maintenance (#11)
📦 updated NuGet package definition ⬆️ bump dependencies 👷 transitioned to reusable workflows 💬 updated community health pages
1 parent be801cc commit a7802c3

File tree

9 files changed

+74
-111
lines changed

9 files changed

+74
-111
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: 24 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -23,108 +23,43 @@ permissions:
2323

2424
jobs:
2525
build:
26-
name: 🛠️ Build
27-
runs-on: ubuntu-22.04
28-
timeout-minutes: 15
26+
name: call-build
2927
strategy:
3028
matrix:
3129
configuration: [Debug, Release]
32-
framework: [net9.0,net8.0,netstandard2.0]
33-
outputs:
34-
version: ${{ steps.minver-calculate.outputs.version }}
35-
steps:
36-
- name: Checkout
37-
uses: codebeltnet/git-checkout@v1
38-
39-
- name: Install .NET
40-
uses: codebeltnet/install-dotnet@v1
41-
with:
42-
includePreview: true
43-
44-
- name: Install MinVer
45-
uses: codebeltnet/dotnet-tool-install-minver@v1
46-
47-
- id: minver-calculate
48-
name: Calculate Version
49-
uses: codebeltnet/minver-calculate@v2
50-
51-
- name: Download newtonsoft.snk file
52-
uses: codebeltnet/gcp-download-file@v1
53-
with:
54-
serviceAccountKey: ${{ secrets.GCP_TOKEN }}
55-
bucketName: ${{ secrets.GCP_BUCKETNAME }}
56-
objectName: newtonsoft.snk
57-
58-
- name: Set environment variable for projects
59-
run: |
60-
if [ "${{ matrix.framework }}" == "netstandard2.0" ]; then
61-
projects=(
62-
"src/**/Codebelt.Extensions.Newtonsoft.Json.csproj"
63-
)
64-
echo "PROJECTS=$(IFS=' '; echo "${projects[*]}")" >> $GITHUB_ENV
65-
else
66-
echo "PROJECTS=src/**/*.csproj" >> $GITHUB_ENV
67-
fi
68-
shell: bash
69-
70-
- name: Restore Dependencies
71-
uses: codebeltnet/dotnet-restore@v2
72-
73-
- name: Build for ${{ matrix.framework }} (${{ matrix.configuration }})
74-
uses: codebeltnet/dotnet-build@v2
75-
with:
76-
projects: ${{ env.PROJECTS }}
77-
configuration: ${{ matrix.configuration }}
78-
framework: ${{ matrix.framework }}
30+
uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v1
31+
with:
32+
configuration: ${{ matrix.configuration }}
33+
strong-name-key-filename: newtonsoft.snk
34+
secrets:
35+
GCP_TOKEN: ${{ secrets.GCP_TOKEN }}
36+
GCP_BUCKETNAME: ${{ secrets.GCP_BUCKETNAME }}
7937

8038
pack:
81-
name: 📦 Pack
82-
runs-on: ubuntu-22.04
83-
timeout-minutes: 15
39+
name: call-pack
40+
needs: [build]
8441
strategy:
8542
matrix:
8643
configuration: [Debug, Release]
87-
needs: [build]
88-
steps:
89-
- name: Install .NET
90-
uses: codebeltnet/install-dotnet@v1
91-
with:
92-
includePreview: true
93-
94-
- name: Pack for ${{ matrix.configuration }}
95-
uses: codebeltnet/dotnet-pack@v2
96-
with:
97-
configuration: ${{ matrix.configuration }}
98-
uploadPackedArtifact: true
99-
version: ${{ needs.build.outputs.version }}
44+
uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v1
45+
with:
46+
configuration: ${{ matrix.configuration }}
47+
upload-packed-artifact: true
48+
version: ${{ needs.build.outputs.version }}
10049

10150
test:
102-
name: 🧪 Test
51+
name: call-test
10352
needs: [build]
10453
strategy:
10554
fail-fast: false
10655
matrix:
107-
os: [ubuntu-22.04, windows-2022]
56+
os: [ubuntu-24.04, windows-2022]
10857
configuration: [Debug, Release]
109-
runs-on: ${{ matrix.os }}
110-
timeout-minutes: 15
111-
steps:
112-
- name: Checkout
113-
uses: codebeltnet/git-checkout@v1
114-
115-
- name: Install .NET
116-
uses: codebeltnet/install-dotnet@v1
117-
with:
118-
includePreview: true
119-
120-
- name: Install .NET Tool - Report Generator
121-
uses: codebeltnet/dotnet-tool-install-reportgenerator@v1
122-
123-
- name: Test with ${{ matrix.configuration }} build
124-
uses: codebeltnet/dotnet-test@v3
125-
with:
126-
configuration: ${{ matrix.configuration }}
127-
buildSwitches: -p:SkipSignAssembly=true
58+
uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v1
59+
with:
60+
configuration: ${{ matrix.configuration }}
61+
runs-on: ${{ matrix.os }}
62+
build-switches: -p:SkipSignAssembly=true
12863

12964
sonarcloud:
13065
name: call-sonarcloud
@@ -154,8 +89,8 @@ jobs:
15489
deploy:
15590
if: github.event_name != 'pull_request'
15691
name: call-nuget
157-
needs: [build,pack,test,sonarcloud,codecov,codeql]
158-
uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1
92+
needs: [build, pack, test, sonarcloud, codecov, codeql]
93+
uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1
15994
with:
16095
version: ${{ needs.build.outputs.version }}
16196
environment: Production

.nuget/Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
Version 9.0.2
1+
Version 9.0.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+
 
7+
Version 9.0.2
28
Availability: .NET 9 and .NET 8
39

410
# ALM

.nuget/Codebelt.Extensions.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
Version 9.0.2
1+
Version 9.0.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+
 
7+
Version 9.0.2
28
Availability: .NET 9 and .NET 8
39

410
# ALM

.nuget/Codebelt.Extensions.Newtonsoft.Json.App/PackageReleaseNotes.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
Version 9.0.2
1+
Version 9.0.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+
 
7+
Version 9.0.2
28
Availability: .NET 9 and .NET 8
39

410
# ALM

.nuget/Codebelt.Extensions.Newtonsoft.Json/PackageReleaseNotes.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
Version 9.0.2
1+
Version 9.0.3
2+
Availability: .NET 9, .NET 8 and .NET Standard 2.0
3+
 
4+
# ALM
5+
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
6+
 
7+
Version 9.0.2
28
Availability: .NET 9, .NET 8 and .NET Standard 2.0
39

410
# ALM

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba
77
> [!NOTE]
88
> Changelog entries prior to version 8.4.0 was migrated from previous versions of Cuemon.Extensions.Newtonsoft.Json, Cuemon.Extensions.AspNetCore.Newtonsoft.Json and Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.
99
10+
## [9.0.3] - 2025-05-25
11+
12+
This is a service update that focuses on package dependencies.
13+
1014
## [9.0.2] - 2025-04-16
1115

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

Directory.Packages.props

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,30 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="Codebelt.Extensions.Xunit" Version="10.0.0" />
7-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
8-
<PackageVersion Include="Cuemon.AspNetCore.Mvc" Version="9.0.4" />
9-
<PackageVersion Include="Cuemon.Core" Version="9.0.4" />
10-
<PackageVersion Include="Cuemon.Extensions.AspNetCore" Version="9.0.4" />
11-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Authentication" Version="9.0.4" />
12-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc" Version="9.0.4" />
13-
<PackageVersion Include="Cuemon.Extensions.Core" Version="9.0.4" />
14-
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.4" />
15-
<PackageVersion Include="Cuemon.IO" Version="9.0.4" />
16-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
6+
<PackageVersion Include="Codebelt.Extensions.Xunit" Version="10.0.1" />
7+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.1" />
8+
<PackageVersion Include="Cuemon.AspNetCore.Mvc" Version="9.0.5" />
9+
<PackageVersion Include="Cuemon.Core" Version="9.0.5" />
10+
<PackageVersion Include="Cuemon.Extensions.AspNetCore" Version="9.0.5" />
11+
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Authentication" Version="9.0.5" />
12+
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc" Version="9.0.5" />
13+
<PackageVersion Include="Cuemon.Extensions.Core" Version="9.0.5" />
14+
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.5" />
15+
<PackageVersion Include="Cuemon.IO" Version="9.0.5" />
16+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
1717
<PackageVersion Include="MinVer" Version="6.0.0" />
1818
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
1919
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
2020
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
2121
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
2222
<PackageVersion Include="xunit" Version="2.9.3" />
2323
<PackageVersion Include="xunit.runner.console" Version="2.9.3" />
24-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
24+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
2525
</ItemGroup>
2626
<ItemGroup Condition="$(TargetFramework.StartsWith('net9'))">
27-
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.4" />
27+
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.5" />
2828
</ItemGroup>
2929
<ItemGroup Condition="$(TargetFramework.StartsWith('net8'))">
30-
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.15" />
30+
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.16" />
3131
</ItemGroup>
3232
</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)