Skip to content

Commit

Permalink
Update target frameworks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihlus committed Feb 13, 2025
1 parent 50e32cb commit 94088d4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,46 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Build
run: |
dotnet restore
dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release --no-restore --no-build --verbosity minimal
run: dotnet test -c Release --no-restore --no-build --verbosity minimal --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Inspect
uses: JetBrains/ReSharper-InspectCode@v0.3
uses: JetBrains/ReSharper-InspectCode@v0.8
with:
tool-version: 2023.3.4
solution: Remora.Markdown.sln
tool-version: 2024.3.0
solution: Remora.Discord.sln
build: false
no-build: true
telemetry-optout: true

- name: Coverage
uses: irongut/[email protected]
with:
filename: coverage/**/coverage.cobertura.xml
badge: true
format: markdown
indicators: true
output: both
thresholds: '60 80'

- uses: actions/upload-artifact@v4
if: github.event_name == 'pull_request'
with:
name: coverage
path: code-coverage-results.md

- name: Package
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
Expand Down
4 changes: 2 additions & 2 deletions Remora.Markdown/Remora.Markdown.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Remora.Sdk">
<PropertyGroup>
<VersionPrefix>1.1.3</VersionPrefix>
<VersionPrefix>2.0.0</VersionPrefix>
<Description>A typesafe, graph-oriented library for generating Markdown documents in C#.</Description>
<PackageReleaseNotes>
Upgrade Remora.Sdk.
Update target frameworks.
</PackageReleaseNotes>
<PackageTags>remora;markdown;graph;typesafe</PackageTags>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"msbuild-sdks": {
"Remora.Sdk": "3.0.1",
"Remora.Tests.Sdk": "3.0.1"
"Remora.Sdk": "4.0.0",
"Remora.Tests.Sdk": "4.0.0"
}
}

0 comments on commit 94088d4

Please sign in to comment.