Skip to content

Commit f57b610

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

File tree

6 files changed

+39
-83
lines changed

6 files changed

+39
-83
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 & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -23,95 +23,41 @@ 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 unitify.snk file
52-
uses: codebeltnet/gcp-download-file@v1
53-
with:
54-
serviceAccountKey: ${{ secrets.GCP_TOKEN }}
55-
bucketName: ${{ secrets.GCP_BUCKETNAME }}
56-
objectName: unitify.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: unitify.snk
34+
secrets: inherit
6635

6736
pack:
68-
name: 📦 Pack
69-
runs-on: ubuntu-24.04
70-
timeout-minutes: 15
37+
name: call-pack
38+
needs: [build]
7139
strategy:
7240
matrix:
7341
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 }}
42+
uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v1
43+
with:
44+
configuration: ${{ matrix.configuration }}
45+
upload-packed-artifact: true
46+
version: ${{ needs.build.outputs.version }}
8747

8848
test:
89-
name: 🧪 Test
49+
name: call-test
9050
needs: [build]
9151
strategy:
9252
fail-fast: false
9353
matrix:
9454
os: [ubuntu-24.04, windows-2022]
9555
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
56+
uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v1
57+
with:
58+
configuration: ${{ matrix.configuration }}
59+
runs-on: ${{ matrix.os }}
60+
build-switches: -p:SkipSignAssembly=true
11561

11662
sonarcloud:
11763
name: call-sonarcloud
@@ -141,8 +87,8 @@ jobs:
14187
deploy:
14288
if: github.event_name != 'pull_request'
14389
name: call-nuget
144-
needs: [build,pack,test,sonarcloud,codecov,codeql]
145-
uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1
90+
needs: [build, pack, test, sonarcloud, codecov, codeql]
91+
uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1
14692
with:
14793
version: ${{ needs.build.outputs.version }}
14894
environment: Production

.nuget/Codebelt.Unitify/PackageReleaseNotes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
 
17
Version 9.0.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
@@ -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 9.0.0 was migrated from previous versions of [Cuemon.Core](https://github.com/gimlichael/Cuemon/commit/83e0c7af2cdaa07351e878fa7276558838f2e7e6).
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
7-
<PackageVersion Include="Cuemon.Core" Version="9.0.4" />
8-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
6+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.1" />
7+
<PackageVersion Include="Cuemon.Core" Version="9.0.5" />
8+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
99
<PackageVersion Include="MinVer" Version="6.0.0" />
1010
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
1111
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
1212
<PackageVersion Include="xunit" Version="2.9.3" />
1313
<PackageVersion Include="xunit.runner.console" Version="2.9.3" />
14-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
14+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
1515
</ItemGroup>
1616
</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)