From 8f6d980b594a536bd7e547800d6ddc8b1df15e66 Mon Sep 17 00:00:00 2001 From: "mohammad.zr" Date: Fri, 3 May 2024 17:42:09 +0330 Subject: [PATCH] Upgrade to net8 --- .github/workflows/liara-deploy.yml | 2 +- src/Shortener/Shortener.csproj | 12 ++++++------ .../Shortener.UnitTests.csproj | 18 ++++++++++++------ 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/liara-deploy.yml b/.github/workflows/liara-deploy.yml index f1e26a6..8edc187 100644 --- a/.github/workflows/liara-deploy.yml +++ b/.github/workflows/liara-deploy.yml @@ -1,6 +1,6 @@ name: Shortener env: - DOTNET_VERSION: '7' + DOTNET_VERSION: '8' 'on': pull_request: branches: diff --git a/src/Shortener/Shortener.csproj b/src/Shortener/Shortener.csproj index 914cbbd..e52c2fe 100644 --- a/src/Shortener/Shortener.csproj +++ b/src/Shortener/Shortener.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable f6a4abc2-71ea-42d6-8b39-4a0059030a5c @@ -10,11 +10,11 @@ - - - - - + + + + + diff --git a/tests/Shortener.UnitTests/Shortener.UnitTests.csproj b/tests/Shortener.UnitTests/Shortener.UnitTests.csproj index 9154d99..2f88eec 100644 --- a/tests/Shortener.UnitTests/Shortener.UnitTests.csproj +++ b/tests/Shortener.UnitTests/Shortener.UnitTests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable @@ -10,11 +10,17 @@ - - - - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +