Skip to content

Commit

Permalink
Add compatibility checks on each PR and push.
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Mar 21, 2024
1 parent 23b0ba7 commit 2a56bcb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ jobs:
- name: Build and test
run: |
dotnet test src/NodaTime.Serialization.Test
dotnet pack src/NodaTime.Serialization.JsonNet
dotnet pack src/NodaTime.Serialization.Protobuf
dotnet pack src/NodaTime.Serialization.SystemTextJson
3 changes: 3 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ jobs:
- name: Build and test
run: |
dotnet test src/NodaTime.Serialization.Test
dotnet pack src/NodaTime.Serialization.JsonNet
dotnet pack src/NodaTime.Serialization.Protobuf
dotnet pack src/NodaTime.Serialization.SystemTextJson
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

<PropertyGroup>
<Description>Provides serialization support between Noda Time and Json.NET.</Description>
<!-- Update this just before a release. -->
<Version>3.1.0</Version>
<!-- Update this just after a release. -->
<PackageValidationBaselineVersion>3.1.0</PackageValidationBaselineVersion>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<PackageTags>nodatime;json;jsonnet</PackageTags>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

<PropertyGroup>
<Description>Provides serialization support between Noda Time and Google.Protobuf</Description>
<!-- Update this just before a release. -->
<Version>2.0.1</Version>
<!-- Update this just after a release. -->
<PackageValidationBaselineVersion>2.0.0</PackageValidationBaselineVersion>

<TargetFrameworks>netstandard2.0</TargetFrameworks>
<PackageTags>nodatime;google;protobuf</PackageTags>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

<PropertyGroup>
<Description>Provides serialization support between Noda Time and System.Text.Json</Description>
<!-- Update this just before a release. -->
<Version>1.2.0</Version>
<!-- Update this just after a release. -->
<PackageValidationBaselineVersion>1.2.0</PackageValidationBaselineVersion>

<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<PackageTags>nodatime;json</PackageTags>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 2a56bcb

Please sign in to comment.