File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ jobs:
4444 with :
4545 name : release-pack-nupkg
4646 path : artifacts
47- # - name: Run nuget package validation
48- # run: |
49- # foreach($file in (Get-ChildItem "./artifacts/" -Recurse -Include *.nupkg)) {
50- # dotnet meziantou.validate-nuget-package $file
51- # }
47+ - name : Run nuget package validation
48+ run : |
49+ foreach($file in (Get-ChildItem "./artifacts/" -Recurse -Include *.nupkg)) {
50+ dotnet meziantou.validate-nuget-package $file
51+ }
5252
5353 publish-to-nuget-and-gh-release :
5454 # Publish only when creating a github release
@@ -72,11 +72,11 @@ jobs:
7272 id : login
7373 with :
7474 user : ${{ secrets.NUGET_USER }}
75- # - name: Upload nupkg to nuget
76- # run: |
77- # foreach($file in (Get-ChildItem "./artifacts/" -Recurse -Include *.nupkg)) {
78- # dotnet nuget push $file --api-key "${{ steps.login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
79- # }
75+ - name : Upload nupkg to nuget
76+ run : |
77+ foreach($file in (Get-ChildItem "./artifacts/" -Recurse -Include *.nupkg)) {
78+ dotnet nuget push $file --api-key "${{ steps.login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
79+ }
8080 - name : Upload nupkg to github release
8181 run : |
8282 foreach($file in (Get-ChildItem "./artifacts/" -Recurse -Include *.nupkg)) {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ var firstPage = KeySetPaginator.ApplyPagination(
6868
6969For Offset pagination, use ` OffsetPaginator ` instead.
7070
71- ### Retrieving the cursor pointing to the next page
71+ ### Retrieving the cursor pointing to the next page as an opaque string
7272Each returned page-object includes a helper that exposes the cursor used to retrieve the next page.
7373
7474#### KeySet pagination
Original file line number Diff line number Diff line change 2323 <PrivateAssets >all</PrivateAssets >
2424 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2525 </PackageReference >
26- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.11.0" />
26+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.11.0" PrivateAssets = " all " />
2727 </ItemGroup >
2828
2929 <ItemGroup >
Original file line number Diff line number Diff line change 1- using CsCheck ;
1+ using CsCheck ;
22using Jameak . CursorPagination . SourceGenerator . IntegrationTests . InputClasses ;
33using Jameak . CursorPagination . SourceGenerator . IntegrationTests . PartialStrategies ;
44
@@ -24,7 +24,7 @@ public void VerifyCursorSerializationManyTypes()
2424 LongProp = - 7 ,
2525 SbyteProp = 8 ,
2626 ShortProp = 9 ,
27- StringProp = "abc" ,
27+ StringProp = "abc😊 " ,
2828 UintProp = 10 ,
2929 UlongProp = 11 ,
3030 UshortProp = 12 ,
@@ -38,7 +38,7 @@ public void VerifyCursorSerializationManyTypes()
3838 var deserializedCursor = strategy . CursorFromString ( cursorString ) ;
3939
4040 // Assert
41- Assert . Equal ( "eyIwIjpmYWxzZSwiMSI6MiwiMiI6IjYzODcxMzgzODQ1MDA2MDAwMDpVVEMiLCIzIjoiMjAyNC0wMS0wMlQwMzowNDowNS4wMDYrMDA6MDAiLCI0IjozLCI1Ijo0LjEsIjYiOjUuMiwiNyI6ImFhYWFhYWFhLWFhYWEtYWFhYS1hYWFhLWFhYWFhYWFhYWFhYSIsIjgiOi02LCI5IjotNywiMTAiOjgsIjExIjo5LCIxMiI6ImFiYyIsIjEzIjoxMiwiMTQiOjEwLCIxNSI6MTEsIjE2IjpudWxsfQ " ,
41+ Assert . Equal ( "eyIwIjpmYWxzZSwiMSI6MiwiMiI6IjYzODcxMzgzODQ1MDA2MDAwMDpVVEMiLCIzIjoiMjAyNC0wMS0wMlQwMzowNDowNS4wMDYrMDA6MDAiLCI0IjozLCI1Ijo0LjEsIjYiOjUuMiwiNyI6ImFhYWFhYWFhLWFhYWEtYWFhYS1hYWFhLWFhYWFhYWFhYWFhYSIsIjgiOi02LCI5IjotNywiMTAiOjgsIjExIjo5LCIxMiI6ImFiY1x1RDgzRFx1REUwQSIsIjEzIjoxMiwiMTQiOjEwLCIxNSI6MTEsIjE2IjpudWxsfQ " ,
4242 cursorString ) ;
4343 Assert . Equal ( cursor , deserializedCursor ) ;
4444 }
You can’t perform that action at this time.
0 commit comments