From c8c2cf4cb5afdfde1d9a9b943da6212d05ecde2d Mon Sep 17 00:00:00 2001 From: Alexandre Mutel Date: Tue, 13 Feb 2024 05:55:35 +0100 Subject: [PATCH] Upgrade tests to net8.0 --- .github/workflows/ci.yml | 8 ++++---- src/SharpYaml.Tests/SharpYaml.Tests.csproj | 16 ++++++++++++---- src/SharpYaml.sln.DotSettings | 3 ++- src/SharpYaml/SharpYaml.csproj | 4 ++-- src/global.json | 2 +- 5 files changed, 21 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10ce938c..7d03a80f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 - - name: Install .NET 7.0 - uses: actions/setup-dotnet@v1 + - name: Install .NET 8.0 + uses: actions/setup-dotnet@v4 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Build, Test, Pack, Publish shell: bash diff --git a/src/SharpYaml.Tests/SharpYaml.Tests.csproj b/src/SharpYaml.Tests/SharpYaml.Tests.csproj index 896020f0..fb35a36b 100644 --- a/src/SharpYaml.Tests/SharpYaml.Tests.csproj +++ b/src/SharpYaml.Tests/SharpYaml.Tests.csproj @@ -1,19 +1,27 @@  - net48;net7.0 + net48;net8.0 false + 10 - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + diff --git a/src/SharpYaml.sln.DotSettings b/src/SharpYaml.sln.DotSettings index 0b7d7c91..c77f318d 100644 --- a/src/SharpYaml.sln.DotSettings +++ b/src/SharpYaml.sln.DotSettings @@ -18,4 +18,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - \ No newline at end of file + + True \ No newline at end of file diff --git a/src/SharpYaml/SharpYaml.csproj b/src/SharpYaml/SharpYaml.csproj index b9fac4b8..d13a2214 100644 --- a/src/SharpYaml/SharpYaml.csproj +++ b/src/SharpYaml/SharpYaml.csproj @@ -34,11 +34,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/global.json b/src/global.json index aaf58f52..2aa85a48 100644 --- a/src/global.json +++ b/src/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "7.0.100", + "version": "8.0.100", "rollForward": "latestMinor", "allowPrerelease": false }