Skip to content

Commit

Permalink
migrated to net8
Browse files Browse the repository at this point in the history
updated signing key
updated libraries
added support for record
  • Loading branch information
Doraku committed Jan 28, 2024
1 parent e26d3c0 commit ff6f436
Show file tree
Hide file tree
Showing 119 changed files with 1,395 additions and 746 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CodeCoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'

- name: Collect coverage
run: dotnet test source\DefaultDocumentation.sln -c Release -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=..\..\build\lcov.info -p:Exclude="[*]System.Diagnostics.CodeAnalysis.*" /p:TEST=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ContinuousIntegration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'
source-url: https://nuget.pkg.github.com/Doraku/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'

- name: Build
run: dotnet build source\DefaultDocumentation.sln -c Release -p:TreatWarningsAsErrors=true /p:TEST=true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
Expand Down Expand Up @@ -52,8 +52,8 @@ jobs:

- name: Generate documentation
run: |
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net6.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Api\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net6.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Markdown\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net8.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Api\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net8.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Markdown\DefaultDocumentation.json
- name: Publish packages
run: dotnet nuget push build\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ State elements with which access modifier should be generated. All by default, a
- `Protected`: generates documentation for 'protected' access modifier
- `Internal`: generates documentation for 'internal' access modifier
- `ProtectedInternal`: generates documentation for 'protected internal' access modifier
- `PrivateProtected`generates documentation for 'private protected' access modifier
- `PrivateProtected`: generates documentation for 'private protected' access modifier
- `Api`: generates documentation for 'public', 'protected' and 'protected internal' access modifier.

<a name='Configuration_IncludeUndocumentedItems'></a>
## IncludeUndocumentedItems
Expand Down
4 changes: 2 additions & 2 deletions Release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dotnet clean source\DefaultDocumentation.sln -c Release

dotnet pack source\DefaultDocumentation.sln -c Release -o build /p:LOCAL_VERSION=true

dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net6.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Api\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net6.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Markdown\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net8.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Api\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net8.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Markdown\DefaultDocumentation.json
1 change: 1 addition & 0 deletions documentation/NEXT_RELEASENOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## New features

- added DefaultDocumentation.GeneratedAccessModifiers.Api which regroup Public, Protected and InternalProtected access modifiers (closes #116)
- added support for record

## Bug fixes

Expand Down
Binary file modified ds.snk.gpg
Binary file not shown.
Loading

0 comments on commit ff6f436

Please sign in to comment.