diff --git a/.github/workflows/release-nuget.yaml b/.github/workflows/release-nuget.yaml index 930311202..5aa04bede 100644 --- a/.github/workflows/release-nuget.yaml +++ b/.github/workflows/release-nuget.yaml @@ -15,7 +15,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: | + 8.0.x + 9.0.x - uses: cucumber/action-publish-nuget@v1.0.0 with: nuget-api-key: ${{ secrets.NUGET_API_KEY }} diff --git a/.github/workflows/test-dotnet.yml b/.github/workflows/test-dotnet.yml index 421fbc914..884235112 100644 --- a/.github/workflows/test-dotnet.yml +++ b/.github/workflows/test-dotnet.yml @@ -27,6 +27,7 @@ jobs: with: dotnet-version: | 8.0.x + 9.0.x - run: dotnet test working-directory: dotnet diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f736769f..6591009bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt - [PHP, Java, Ruby, JavaScript] update dependency messages up to v26 - [Python] Added type annotations ([#283](https://github.com/cucumber/gherkin/pull/283)) - [Python] Switch to pyproject.toml ([#290](https://github.com/cucumber/gherkin/pull/290)) +- [.NET] Added .NET 9 to test matrix ### Changed - [.NET] Drop unsupported frameworks. Now supported target frameworks are .NET 8, .NET Standard 2.0 ([#265](https://github.com/cucumber/gherkin/pull/265)) diff --git a/dotnet/Directory.Build.props b/dotnet/Directory.Build.props index e454fc19b..80110d548 100644 --- a/dotnet/Directory.Build.props +++ b/dotnet/Directory.Build.props @@ -1,7 +1,7 @@ - 12 + 13 enable true diff --git a/dotnet/Gherkin.Specs/Gherkin.Specs.csproj b/dotnet/Gherkin.Specs/Gherkin.Specs.csproj index 3343a1056..6c3b649d0 100644 --- a/dotnet/Gherkin.Specs/Gherkin.Specs.csproj +++ b/dotnet/Gherkin.Specs/Gherkin.Specs.csproj @@ -1,7 +1,7 @@ - net8.0;net462 + net9.0;net8.0;net462 Exe Gherkin.Specs.CLI.Program