Skip to content

Commit e56389d

Browse files
authored
Net9/housekeeping (#6)
⬆️ bump dependencies 👷 tweaking of pipeline 💬 updated community health pages
1 parent b897ee2 commit e56389d

File tree

6 files changed

+79
-18
lines changed

6 files changed

+79
-18
lines changed

.github/workflows/pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ on:
33
pull_request:
44
branches: [main]
55
paths-ignore:
6-
- .codecov
7-
- .docfx
8-
- .github
9-
- .nuget
6+
- .codecov/**
7+
- .docfx/**
8+
- .nuget/**
9+
- '**/*.md'
1010
workflow_dispatch:
1111
inputs:
1212
configuration:

.github/workflows/scorecard.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Scorecard supply-chain security
2+
on:
3+
branch_protection_rule:
4+
schedule:
5+
- cron: '45 17 * * 2'
6+
push:
7+
branches: [ "main" ]
8+
9+
permissions: read-all
10+
11+
jobs:
12+
analysis:
13+
name: Scorecard analysis
14+
runs-on: ubuntu-latest
15+
permissions:
16+
security-events: write
17+
id-token: write
18+
19+
steps:
20+
- name: "Checkout code"
21+
uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
24+
25+
- name: "Run analysis"
26+
uses: ossf/[email protected]
27+
with:
28+
results_file: results.sarif
29+
results_format: sarif
30+
publish_results: true
31+
32+
- name: "Upload artifact"
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: SARIF file
36+
path: results.sarif
37+
retention-days: 5
38+
39+
- name: "Upload to code-scanning"
40+
uses: github/codeql-action/upload-sarif@v3
41+
with:
42+
sarif_file: results.sarif

Directory.Build.props

+9-9
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
</ItemGroup>
4343

4444
<ItemGroup Condition="'$(IsTestProject)' == 'false'">
45-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
46-
<PackageReference Include="MinVer" Version="6.0.0" PrivateAssets="all" />
45+
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
46+
<PackageReference Include="MinVer" PrivateAssets="all" />
4747
<None Include="..\..\.nuget\$(MSBuildProjectName)\icon.png" Pack="true" Visible="false" PackagePath="\" />
4848
<None Include="..\..\.nuget\$(MSBuildProjectName)\README.md" Pack="true" PackagePath="\" />
4949
</ItemGroup>
@@ -69,19 +69,19 @@
6969
</PropertyGroup>
7070

7171
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
72-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
73-
<PackageReference Include="xunit" Version="2.9.0" />
74-
<PackageReference Include="xunit.runner.console" Version="2.9.0" />
75-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
76-
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
72+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
73+
<PackageReference Include="xunit" />
74+
<PackageReference Include="xunit.runner.console" />
75+
<PackageReference Include="xunit.runner.visualstudio" />
76+
<PackageReference Include="coverlet.msbuild">
7777
<PrivateAssets>all</PrivateAssets>
7878
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
7979
</PackageReference>
80-
<PackageReference Include="coverlet.collector" Version="6.0.2">
80+
<PackageReference Include="coverlet.collector">
8181
<PrivateAssets>all</PrivateAssets>
8282
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8383
</PackageReference>
84-
<PackageReference Include="Codebelt.Extensions.Xunit.App" Version="8.4.1" PrivateAssets="all" />
84+
<PackageReference Include="Codebelt.Extensions.Xunit.App" PrivateAssets="all" />
8585
</ItemGroup>
8686

8787
</Project>

Directory.Packages.props

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="9.0.0" />
7+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
8+
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
9+
<PackageVersion Include="MinVer" Version="6.0.0" />
10+
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
11+
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" />
12+
<PackageVersion Include="xunit" Version="2.9.2" />
13+
<PackageVersion Include="xunit.runner.console" Version="2.9.2" />
14+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
15+
</ItemGroup>
16+
</Project>

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
![ClassLibrary1](.nuget/ClassLibrary1/icon.png)
22

3-
# Repository template for .NET class library projects
3+
# Classlibrary1 API by Codebelt
44

5-
Template repository for .NET class library projects following [Microsoft Engineering Guidelines](https://github.com/dotnet/aspnetcore/wiki/Engineering-guidelines) as well as Conventions, Idioms and Patterns by [Codebelt](https://github.com/codebeltnet#conventions-idioms-and-patterns).
5+
[![ClassLibrary1 CI/CD Pipeline](https://github.com/codebeltnet/ClassLibrary1/actions/workflows/pipelines.yml/badge.svg)](https://github.com/codebeltnet/ClassLibrary1/actions/workflows/pipelines.yml) [![codecov](https://codecov.io/gh/codebeltnet/ClassLibrary1/graph/badge.svg?token=WAmfmpQyCz)](https://codecov.io/gh/codebeltnet/ClassLibrary1) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ClassLibrary1&metric=alert_status)](https://sonarcloud.io/dashboard?id=ClassLibrary1) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ClassLibrary1&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ClassLibrary1) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ClassLibrary1&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ClassLibrary1) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ClassLibrary1&metric=security_rating)](https://sonarcloud.io/dashboard?id=ClassLibrary1) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/codebeltnet/ClassLibrary1/badge)](https://scorecard.dev/viewer/?uri=github.com/codebeltnet/ClassLibrary1)
6+
7+
Provides a focused API for .NET class library projects following [Microsoft Engineering Guidelines](https://github.com/dotnet/aspnetcore/wiki/Engineering-guidelines) as well as Conventions, Idioms and Patterns by [Codebelt](https://github.com/codebeltnet#conventions-idioms-and-patterns).
68

79
## 📦 Standalone Packages
810

@@ -20,8 +22,9 @@ Provides a convenient set of default API additions for ...
2022
|:--|:-:|:-:|:-:|
2123
| [ClassLibrary1.App](https://www.nuget.org/packages/ClassLibrary1.App/) | ![vNext](https://img.shields.io/nuget/vpre/ClassLibrary1.App?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/ClassLibrary1.App?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/ClassLibrary1.App?color=blueviolet&logo=nuget) |
2224

23-
### Contributing to `Extensions for xUnit API by Codebelt`
24-
Contributions are welcome!
25+
### Contributing to `Extensions for ClassLibrary1 API by Codebelt`
26+
[Contributions](.github/CONTRIBUTING.md) are welcome and appreciated.
27+
2528
Feel free to submit issues, feature requests, or pull requests to help improve this library.
2629

2730
### License

testenvironments.json

+1-1
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:net6.0.424-net8.0.303"
12+
"dockerImage": "gimlichael/ubuntu-testrunner:net8.0.404-9.0.100"
1313
}
1414
]
1515
}

0 commit comments

Comments
 (0)