Skip to content

Commit 570d4e6

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

File tree

6 files changed

+47
-89
lines changed

6 files changed

+47
-89
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: 23 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -23,95 +23,43 @@ permissions:
2323

2424
jobs:
2525
build:
26-
name: 🛠️ Build
27-
runs-on: ubuntu-24.04
28-
timeout-minutes: 15
26+
name: call-build
2927
strategy:
3028
matrix:
3129
configuration: [Debug, Release]
32-
framework: [net9.0,net8.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 versioning.snk file
52-
uses: codebeltnet/gcp-download-file@v1
53-
with:
54-
serviceAccountKey: ${{ secrets.GCP_TOKEN }}
55-
bucketName: ${{ secrets.GCP_BUCKETNAME }}
56-
objectName: versioning.snk
57-
58-
- name: Restore Dependencies
59-
uses: codebeltnet/dotnet-restore@v2
60-
61-
- name: Build for ${{ matrix.framework }} (${{ matrix.configuration }})
62-
uses: codebeltnet/dotnet-build@v2
63-
with:
64-
configuration: ${{ matrix.configuration }}
65-
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: versioning.snk
34+
secrets:
35+
GCP_TOKEN: ${{ secrets.GCP_TOKEN }}
36+
GCP_BUCKETNAME: ${{ secrets.GCP_BUCKETNAME }}
6637

6738
pack:
68-
name: 📦 Pack
69-
runs-on: ubuntu-24.04
70-
timeout-minutes: 15
39+
name: call-pack
40+
needs: [build]
7141
strategy:
7242
matrix:
7343
configuration: [Debug, Release]
74-
needs: [build]
75-
steps:
76-
- name: Install .NET
77-
uses: codebeltnet/install-dotnet@v1
78-
with:
79-
includePreview: true
80-
81-
- name: Pack for ${{ matrix.configuration }}
82-
uses: codebeltnet/dotnet-pack@v2
83-
with:
84-
configuration: ${{ matrix.configuration }}
85-
uploadPackedArtifact: true
86-
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 }}
8749

8850
test:
89-
name: 🧪 Test
51+
name: call-test
9052
needs: [build]
9153
strategy:
9254
fail-fast: false
9355
matrix:
9456
os: [ubuntu-24.04, windows-2022]
9557
configuration: [Debug, Release]
96-
runs-on: ${{ matrix.os }}
97-
timeout-minutes: 15
98-
steps:
99-
- name: Checkout
100-
uses: codebeltnet/git-checkout@v1
101-
102-
- name: Install .NET
103-
uses: codebeltnet/install-dotnet@v1
104-
with:
105-
includePreview: true
106-
107-
- name: Install .NET Tool - Report Generator
108-
uses: codebeltnet/dotnet-tool-install-reportgenerator@v1
109-
110-
- name: Test with ${{ matrix.configuration }} build
111-
uses: codebeltnet/dotnet-test@v3
112-
with:
113-
configuration: ${{ matrix.configuration }}
114-
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
11563

11664
sonarcloud:
11765
name: call-sonarcloud
@@ -141,8 +89,8 @@ jobs:
14189
deploy:
14290
if: github.event_name != 'pull_request'
14391
name: call-nuget
144-
needs: [build,pack,test,sonarcloud,codecov,codeql]
145-
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
14694
with:
14795
version: ${{ needs.build.outputs.version }}
14896
environment: Production

.nuget/Codebelt.Extensions.Asp.Versioning/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

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.Asp.Versioning.
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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
<PackageVersion Include="Asp.Versioning.Http" Version="8.1.0" />
88
<PackageVersion Include="Asp.Versioning.Mvc" Version="8.1.0" />
99
<PackageVersion Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.1.0" />
10-
<PackageVersion Include="Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json" Version="9.0.2" />
11-
<PackageVersion Include="Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml" Version="9.0.2" />
12-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
13-
<PackageVersion Include="Cuemon.AspNetCore" Version="9.0.4" />
14-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc" Version="9.0.4" />
15-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json" Version="9.0.4" />
16-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml" Version="9.0.4" />
17-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
10+
<PackageVersion Include="Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json" Version="9.0.3" />
11+
<PackageVersion Include="Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml" Version="9.0.3" />
12+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.1" />
13+
<PackageVersion Include="Cuemon.AspNetCore" Version="9.0.5" />
14+
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc" Version="9.0.5" />
15+
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json" Version="9.0.5" />
16+
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml" Version="9.0.5" />
17+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
1818
<PackageVersion Include="MinVer" Version="6.0.0" />
1919
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
2020
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
2121
<PackageVersion Include="xunit" Version="2.9.3" />
2222
<PackageVersion Include="xunit.runner.console" Version="2.9.3" />
23-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
23+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
2424
</ItemGroup>
2525
</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)