Skip to content

V0.4.3/package maintenance #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .docfx/Dockerfile.docfx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM nginx:1.27.3-alpine AS base
FROM --platform=$BUILDPLATFORM nginx:1.27.5-alpine AS base
RUN rm -rf /usr/share/nginx/html/*

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

ADD [".", "docfx"]

RUN cd docfx; \
docfx build

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

Expand Down
94 changes: 21 additions & 73 deletions .github/workflows/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,92 +23,40 @@ permissions:

jobs:
build:
name: 🛠️ Build
runs-on: ubuntu-22.04
name: call-build
strategy:
matrix:
configuration: [Debug, Release]
framework: [net9.0,net8.0]
outputs:
version: ${{ steps.minver-calculate.outputs.version }}
steps:
- name: Checkout
uses: codebeltnet/git-checkout@v1

- name: Install .NET
uses: codebeltnet/install-dotnet@v1
with:
includePreview: true

- name: Install MinVer
uses: codebeltnet/dotnet-tool-install-minver@v1

- id: minver-calculate
name: Calculate Version
uses: codebeltnet/minver-calculate@v2

- name: Download sharedkernel.snk file
uses: codebeltnet/gcp-download-file@v1
with:
serviceAccountKey: ${{ secrets.GCP_TOKEN }}
bucketName: ${{ secrets.GCP_BUCKETNAME }}
objectName: sharedkernel.snk

- name: Restore Dependencies
uses: codebeltnet/dotnet-restore@v2

- name: Build for ${{ matrix.framework }} (${{ matrix.configuration }})
uses: codebeltnet/dotnet-build@v2
with:
configuration: ${{ matrix.configuration }}
framework: ${{ matrix.framework }}
uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v2
with:
configuration: ${{ matrix.configuration }}
strong-name-key-filename: sharedkernel.snk
secrets: inherit

pack:
name: 📦 Pack
runs-on: ubuntu-22.04
name: call-pack
needs: [build]
strategy:
matrix:
configuration: [Debug, Release]
needs: [build]
steps:
- name: Install .NET
uses: codebeltnet/install-dotnet@v1
with:
includePreview: true

- name: Pack for ${{ matrix.configuration }}
uses: codebeltnet/dotnet-pack@v2
with:
configuration: ${{ matrix.configuration }}
uploadPackedArtifact: true
version: ${{ needs.build.outputs.version }}
uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v2
with:
configuration: ${{ matrix.configuration }}
version: ${{ needs.build.outputs.version }}

test:
name: 🧪 Test
name: call-test
needs: [build]
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
os: [ubuntu-24.04, windows-2022]
configuration: [Debug, Release]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: codebeltnet/git-checkout@v1

- name: Install .NET
uses: codebeltnet/install-dotnet@v1
with:
includePreview: true

- name: Install .NET Tool - Report Generator
uses: codebeltnet/dotnet-tool-install-reportgenerator@v1

- name: Test with ${{ matrix.configuration }} build
uses: codebeltnet/dotnet-test@v3
with:
configuration: ${{ matrix.configuration }}
buildSwitches: -p:SkipSignAssembly=true
uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v2
with:
configuration: ${{ matrix.configuration }}
runs-on: ${{ matrix.os }}
build-switches: -p:SkipSignAssembly=true

sonarcloud:
name: call-sonarcloud
Expand Down Expand Up @@ -138,8 +86,8 @@ jobs:
deploy:
if: github.event_name != 'pull_request'
name: call-nuget
needs: [build,pack,test,sonarcloud,codecov,codeql]
uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1
needs: [build, pack, test, sonarcloud, codecov, codeql]
uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1
with:
version: ${{ needs.build.outputs.version }}
environment: Production
Expand Down
6 changes: 6 additions & 0 deletions .nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 0.4.3
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 0.4.2
Availability: .NET 9 and .NET 8

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

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

## [0.4.3] - 2025-05-29

This is a service update that focuses on package dependencies.

## [0.4.2] - 2025-04-19

This is a service update that focuses on package dependencies.
Expand Down
14 changes: 7 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.4" />
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageVersion Include="Cuemon.Extensions.IO" Version="9.0.5" />
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
<PackageVersion Include="MinVer" Version="6.0.0" />
<PackageVersion Include="Savvyio.Domain" Version="4.0.2" />
<PackageVersion Include="Savvyio.Extensions.Newtonsoft.Json" Version="4.0.2" />
<PackageVersion Include="Savvyio.Extensions.Text.Json" Version="4.0.2" />
<PackageVersion Include="Savvyio.Domain" Version="4.0.3" />
<PackageVersion Include="Savvyio.Extensions.Newtonsoft.Json" Version="4.0.3" />
<PackageVersion Include="Savvyio.Extensions.Text.Json" Version="4.0.3" />
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.console" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion testenvironments.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"name": "Docker-Ubuntu",
"type": "docker",
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203"
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.409-9.0.300"
}
]
}
Loading