Skip to content

Commit 711464c

Browse files
authored
V9.0.2/package maintenance (#10)
⬆️ bump dependencies 💬 updated community health pages 📦 updated NuGet package definition 👷 transition towards reusable workflows
1 parent 3f74edf commit 711464c

File tree

6 files changed

+58
-99
lines changed

6 files changed

+58
-99
lines changed

.github/workflows/pipelines.yml

Lines changed: 33 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ on:
1818
- Debug
1919
- Release
2020

21+
permissions:
22+
contents: read
23+
2124
jobs:
2225
build:
2326
name: 🛠️ Build
24-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04
2528
timeout-minutes: 15
2629
strategy:
2730
matrix:
@@ -63,7 +66,7 @@ jobs:
6366

6467
pack:
6568
name: 📦 Pack
66-
runs-on: ubuntu-22.04
69+
runs-on: ubuntu-24.04
6770
timeout-minutes: 15
6871
strategy:
6972
matrix:
@@ -88,7 +91,7 @@ jobs:
8891
strategy:
8992
fail-fast: false
9093
matrix:
91-
os: [ubuntu-22.04, windows-2022]
94+
os: [ubuntu-24.04, windows-2022]
9295
configuration: [Debug, Release]
9396
runs-on: ${{ matrix.os }}
9497
timeout-minutes: 15
@@ -111,97 +114,40 @@ jobs:
111114
buildSwitches: -p:SkipSignAssembly=true
112115

113116
sonarcloud:
114-
name: 🔬 Code Quality Analysis
117+
name: call-sonarcloud
115118
needs: [build,test]
116-
runs-on: ubuntu-22.04
117-
timeout-minutes: 15
118-
steps:
119-
- name: Checkout
120-
uses: codebeltnet/git-checkout@v1
121-
122-
- name: Install .NET
123-
uses: codebeltnet/install-dotnet@v1
124-
with:
125-
includePreview: true
126-
127-
- name: Install .NET Tool - Sonar Scanner
128-
uses: codebeltnet/dotnet-tool-install-sonarscanner@v1
129-
130-
- name: Restore Dependencies
131-
uses: codebeltnet/dotnet-restore@v2
132-
133-
- name: Run SonarCloud Analysis
134-
uses: codebeltnet/sonarcloud-scan@v1
135-
with:
136-
token: ${{ secrets.SONAR_TOKEN }}
137-
organization: geekle
138-
projectKey: asp-versioning
139-
version: ${{ needs.build.outputs.version }}
140-
141-
- name: Build
142-
uses: codebeltnet/dotnet-build@v2
143-
with:
144-
buildSwitches: -p:SkipSignAssembly=true
145-
uploadBuildArtifact: false
146-
147-
- name: Finalize SonarCloud Analysis
148-
uses: codebeltnet/sonarcloud-scan-finalize@v1
149-
with:
150-
token: ${{ secrets.SONAR_TOKEN }}
119+
uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v1
120+
with:
121+
organization: geekle
122+
projectKey: asp-versioning
123+
version: ${{ needs.build.outputs.version }}
124+
secrets: inherit
151125

152126
codecov:
153-
name: 📊 Code Coverage Analysis
127+
name: call-codecov
154128
needs: [build,test]
155-
runs-on: ubuntu-22.04
156-
timeout-minutes: 15
157-
steps:
158-
- name: Checkout
159-
uses: codebeltnet/git-checkout@v1
160-
161-
- name: Run CodeCov Analysis
162-
uses: codebeltnet/codecov-scan@v1
163-
with:
164-
token: ${{ secrets.CODECOV_TOKEN }}
165-
repository: codebeltnet/asp-versioning
129+
uses: codebeltnet/jobs-codecov/.github/workflows/default.yml@v1
130+
with:
131+
repository: codebeltnet/asp-versioning
132+
secrets: inherit
166133

167134
codeql:
168-
name: 🛡️ Security Analysis
135+
name: call-codeql
169136
needs: [build,test]
170-
runs-on: ubuntu-22.04
171-
timeout-minutes: 15
172-
steps:
173-
- name: Checkout
174-
uses: codebeltnet/git-checkout@v1
175-
176-
- name: Install .NET
177-
uses: codebeltnet/install-dotnet@v1
178-
with:
179-
includePreview: true
180-
181-
- name: Restore Dependencies
182-
uses: codebeltnet/dotnet-restore@v2
183-
184-
- name: Prepare CodeQL SAST Analysis
185-
uses: codebeltnet/codeql-scan@v1
186-
187-
- name: Build
188-
uses: codebeltnet/dotnet-build@v2
189-
with:
190-
buildSwitches: -p:SkipSignAssembly=true
191-
uploadBuildArtifact: false
192-
193-
- name: Finalize CodeQL SAST Analysis
194-
uses: codebeltnet/codeql-scan-finalize@v1
137+
uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v1
138+
permissions:
139+
security-events: write
195140

196141
deploy:
197142
if: github.event_name != 'pull_request'
198-
name: 🚀 Deploy v${{ needs.build.outputs.version }}
199-
runs-on: ubuntu-22.04
200-
timeout-minutes: 15
201-
needs: [build, pack, test, sonarcloud, codecov, codeql]
202-
environment: Production
203-
steps:
204-
- uses: codebeltnet/nuget-push@v1
205-
with:
206-
token: ${{ secrets.NUGET_TOKEN }}
207-
configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }}
143+
name: call-nuget
144+
needs: [build,pack,test,sonarcloud,codecov,codeql]
145+
uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1
146+
with:
147+
version: ${{ needs.build.outputs.version }}
148+
environment: Production
149+
configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }}
150+
permissions:
151+
contents: write
152+
packages: write
153+
secrets: inherit

.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.1
1+
Version 9.0.2
2+
Availability: .NET 9 and .NET 8
3+
 
4+
# ALM
5+
- CHANGED Dependencies to latest and greatest with respect to TFMs
6+
 
7+
Version 9.0.1
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.2] - 2025-04-16
11+
12+
This is a service update that focuses on package dependencies.
13+
1014
## [9.0.1] - 2025-01-30
1115

1216
This is a service update that primarily focuses on package dependencies and minor improvements.

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@
6767
<PackageReference Include="Microsoft.NET.Test.Sdk" />
6868
<PackageReference Include="xunit" />
6969
<PackageReference Include="xunit.runner.console" />
70-
<PackageReference Include="xunit.runner.visualstudio" />
70+
<PackageReference Include="xunit.runner.visualstudio">
71+
<PrivateAssets>all</PrivateAssets>
72+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
73+
</PackageReference>
7174
<PackageReference Include="coverlet.msbuild">
7275
<PrivateAssets>all</PrivateAssets>
7376
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Directory.Packages.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
<PackageVersion Include="Asp.Versioning.Mvc" Version="8.1.0" />
99
<PackageVersion Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.1.0" />
1010
<PackageVersion Include="Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json" Version="9.0.1" />
11-
<PackageVersion Include="Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml" Version="9.0.1" />
12-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="9.0.1" />
13-
<PackageVersion Include="Cuemon.AspNetCore" Version="9.0.1" />
14-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc" Version="9.0.1" />
15-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json" Version="9.0.1" />
16-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml" Version="9.0.1" />
17-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
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" />
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.1" />
23+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
2424
</ItemGroup>
2525
</Project>

testenvironments.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{
55
"name": "WSL-Ubuntu",
66
"type": "wsl",
7-
"wslDistribution": "Ubuntu-22.04"
7+
"wslDistribution": "Ubuntu-24.04"
88
},
99
{
1010
"name": "Docker-Ubuntu",
1111
"type": "docker",
12-
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.405-9.0.102"
12+
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203"
1313
}
1414
]
1515
}

0 commit comments

Comments
 (0)