forked from RichardSlater/Markdig.SyntaxHighlighting
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for .NET 8.0 + Update package references
- Updated the .NET version from 6.0.x to 8.0.x in the workflow file. - Removed the Markdig package reference from the test project. - Updated the Markdig package reference in the main project from version 0.32.0 to 0.36.2. - Changed the target frameworks in the main project to net6.0 and net8.0. These changes ensure compatibility with newer versions of .NET and update dependencies for improved functionality and security.
- Loading branch information
1 parent
2819d87
commit 627818e
Showing
4 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,16 +13,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | ||
|
||
- name: Setup .NET 6.0 | ||
uses: actions/setup-dotnet@v2 | ||
- name: Setup .NET 8.0 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '6.0.x' | ||
dotnet-version: '8.0.x' | ||
|
||
- uses: dotnet/[email protected].1 | ||
- uses: dotnet/[email protected] | ||
id: nbgv | ||
|
||
- name: Restore dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,16 +42,16 @@ jobs: | |
] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | ||
|
||
- name: Setup .NET 6.0 | ||
uses: actions/setup-dotnet@v2 | ||
- name: Setup .NET 8.0 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 6.0.x | ||
dotnet-version: 8.0.x | ||
|
||
- uses: dotnet/[email protected].1 | ||
- uses: dotnet/[email protected] | ||
id: nbgv | ||
|
||
- name: Restore dependencies | ||
|
@@ -61,14 +61,14 @@ jobs: | |
run: dotnet build | ||
|
||
- id: is-public-release | ||
uses: ASzc/change-string-case-action@v2 | ||
uses: ASzc/change-string-case-action@v4 | ||
with: | ||
string: ${{ steps.nbgv.outputs.PublicRelease }} | ||
|
||
# Publish | ||
- name: Build, Pack & Publish ${{ matrix.project.name }} to ${{ matrix.nuget.name }} | ||
id: publish_nuget | ||
uses: Rebel028/publish-nuget@v2.7.0 | ||
uses: Rebel028/publish-nuget@v2.8.0 | ||
with: | ||
# Filepath of the project to be packaged, relative to root of repository | ||
PROJECT_FILE_PATH: ${{ matrix.project.path }} | ||
|
3 changes: 1 addition & 2 deletions
3
Nodsoft.Markdig.SyntaxHighlighting.Tests/Nodsoft.Markdig.SyntaxHighlighting.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters