diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index c8894c3a..54eaf903 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -23,9 +23,9 @@ Parlot is a fast, lightweight and simple to use .NET parser combinator library. The library supports multiple target frameworks: - `net472` - .NET Framework 4.7.2 - `netstandard2.0` - .NET Standard 2.0 -- `net6.0` - .NET 6.0 - `net8.0` - .NET 8.0 -- `net9.0` - .NET 9.0 (primary development target) +- `net9.0` - .NET 9.0 +- `net10.0` - .NET 10.0 (primary development target) **Important**: Only build and test other target frameworks once functionality is proven to work correctly on `net9.0`. This approach improves development velocity and performance. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a7ee023..709e1017 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,8 +26,8 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x + 10.0.x global-json-file: global.json - name: Test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fee65f1f..0c358a6b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,8 +18,8 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x + 10.0.x global-json-file: global.json - name: Test diff --git a/global.json b/global.json index f6578894..4ae80ef1 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100", + "version": "10.0.100", "rollForward": "latestMajor" } } diff --git a/src/Parlot/Parlot.csproj b/src/Parlot/Parlot.csproj index d6106ec8..13f81b97 100644 --- a/src/Parlot/Parlot.csproj +++ b/src/Parlot/Parlot.csproj @@ -1,7 +1,7 @@  - net472;netstandard2.0;net6.0;net8.0 + net472;netstandard2.0;net8.0;net10.0 Parser combinator for .NET Parlot is a fast, lightweight and simple to use .NET parser combinator. parser;interpreter; @@ -16,7 +16,7 @@ - + diff --git a/src/Samples/Samples.csproj b/src/Samples/Samples.csproj index 93334d6a..a15e0294 100644 --- a/src/Samples/Samples.csproj +++ b/src/Samples/Samples.csproj @@ -1,7 +1,7 @@  - net6.0;net8.0 + net8.0 false diff --git a/test/Parlot.Benchmarks/Parlot.Benchmarks.csproj b/test/Parlot.Benchmarks/Parlot.Benchmarks.csproj index 8cc04179..9d3c50e6 100644 --- a/test/Parlot.Benchmarks/Parlot.Benchmarks.csproj +++ b/test/Parlot.Benchmarks/Parlot.Benchmarks.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 false latest-Default False diff --git a/test/Parlot.Tests/BenchmarksTests.cs b/test/Parlot.Tests/BenchmarksTests.cs index 7d50aa19..11c3dde0 100644 --- a/test/Parlot.Tests/BenchmarksTests.cs +++ b/test/Parlot.Tests/BenchmarksTests.cs @@ -1,4 +1,4 @@ -#if NET9_0_OR_GREATER +#if NET10_0_OR_GREATER using Parlot.Benchmarks; using System.ComponentModel.DataAnnotations; using Xunit; diff --git a/test/Parlot.Tests/Parlot.Tests.csproj b/test/Parlot.Tests/Parlot.Tests.csproj index 201f189e..a22f1fc1 100644 --- a/test/Parlot.Tests/Parlot.Tests.csproj +++ b/test/Parlot.Tests/Parlot.Tests.csproj @@ -1,7 +1,7 @@  - net6.0;net8.0;net9.0 + net8.0;net9.0;net10.0 false latest-Default False @@ -12,7 +12,7 @@ - +