Skip to content

Commit 36dc52e

Browse files
committed
Actions: update versions, restore and run tests before publishing
1 parent 86f859b commit 36dc52e

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/nuget.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ jobs:
1111
runs-on: windows-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- name: Setup .NET
16-
uses: actions/setup-dotnet@v4
16+
uses: actions/setup-dotnet@v5
1717
with:
18-
dotnet-version: 8.x
18+
dotnet-version: 9.0.x
19+
- name: Restore dependencies
20+
run: dotnet restore ./Source/HtmlTextWriter/HtmlTextWriter.csproj
21+
- name: Run tests
22+
run: dotnet test ./Source/HtmlTextWriter.Tests/HtmlTextWriter.Tests.csproj --no-build --verbosity normal
1923
- name: Build NuGet package
2024
run: dotnet pack ./Source/HtmlTextWriter/HtmlTextWriter.csproj -c Release -o packages
2125
- name: Publish NuGet package

0 commit comments

Comments
 (0)