Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: true
cache-dependency-path: "**/packages.lock.json"

- uses: dotnet/nbgv@v0.4.2
- uses: dotnet/nbgv@v0.5.1
id: nbgv
with:
setAllVars: true
Expand All @@ -40,7 +40,7 @@ jobs:
run: dotnet test --no-build -c Release --verbosity normal

- name: Upload Nuget package as Artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: ClosureOSS.WebPush.${{ steps.nbgv.outputs.NuGetPackageVersion }}
path: ./artifacts/package/release/*nupkg
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cache: true
cache-dependency-path: '**/packages.lock.json'

- uses: dotnet/nbgv@v0.4.2
- uses: dotnet/nbgv@v0.5.1
id: nbgv
with:
setAllVars: true
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
name: ${{ steps.nbgv.outputs.SemVer2 }}
tag_name: ${{ steps.nbgv.outputs.SemVer2 }}
Expand Down
2 changes: 1 addition & 1 deletion WebPush.Test/ECKeyHelperTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ public void TestGetKeyPairNet()
var importedPrivateKey = keypair.GetEncodedPrivateKey();
Assert.AreEqual(TestPrivateKey, importedPrivateKey);
}
}
}
2 changes: 1 addition & 1 deletion WebPush.Test/EncryptorTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
Expand Down
8 changes: 4 additions & 4 deletions WebPush.Test/JWSSignerTest.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System.Text;
using System;
using System.Security.Claims;
using System.Text;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebPush.Util;
using Microsoft.IdentityModel.JsonWebTokens;
using System;
using System.Security.Claims;

namespace WebPush.Test;

Expand Down
1 change: 1 addition & 0 deletions WebPush.Test/VapidHelperTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Text;
using Microsoft.IdentityModel.Tokens;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebPush.Model;

namespace WebPush.Test;

Expand Down
6 changes: 3 additions & 3 deletions WebPush.Test/WebPush.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.4.0" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="MSTest.TestAdapter" Version="4.1.0" />
<PackageReference Include="MSTest.TestFramework" Version="4.1.0" />
<PackageReference Include="MSTest.TestAdapter" Version="4.2.1" />
<PackageReference Include="MSTest.TestFramework" Version="4.2.1" />
<PackageReference Include="RichardSzalay.MockHttp" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions WebPush.Test/WebPushClientTest.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RichardSzalay.MockHttp;
using System;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RichardSzalay.MockHttp;
using WebPush.Model;

namespace WebPush.Test;
Expand Down Expand Up @@ -141,4 +141,4 @@ private void TestSendNotification(HttpStatusCode status, string response = null,
client.SendNotification(subscription, "123");
}

}
}
Loading
Loading