Skip to content

Commit

Permalink
feat: default dotnet image to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored Dec 5, 2024
1 parent 2bf9c1a commit db689c7
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
parameters:
dotnet-image:
type: string
default: &default-dotnet-image "mcr.microsoft.com/dotnet/sdk:7.0"
default: &default-dotnet-image "mcr.microsoft.com/dotnet/sdk:8.0"
dotnet-target-version:
type: string
default: "netstandard2.1"
Expand Down Expand Up @@ -149,11 +149,11 @@ jobs:
steps:
- checkout
- run: |
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net7.0'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net7.0'<\/TargetFramework>' Client.Test/Client.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net7.0'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net7.0'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net7.0'<\/TargetFramework>' Examples/Examples.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net8.0'<\/TargetFramework>' Client.Core.Test/Client.Core.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net8.0'<\/TargetFramework>' Client.Test/Client.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net8.0'<\/TargetFramework>' Client.Legacy.Test/Client.Legacy.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net8.0'<\/TargetFramework>' Client.Linq.Test/Client.Linq.Test.csproj
sed -i '/<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0<\/TargetFrameworks>/c\<TargetFramework>'net8.0'<\/TargetFramework>' Examples/Examples.csproj
- run:
name: Check compilation warnings
command: |
Expand Down Expand Up @@ -225,6 +225,9 @@ workflows:
dotnet-image: "mcr.microsoft.com/dotnet/sdk:6.0"
- tests-dotnet:
name: dotnet-7.0
dotnet-image: "mcr.microsoft.com/dotnet/sdk:7.0"
- tests-dotnet:
name: dotnet-8.0
- tests-windows:
name: dotnet-windows
- deploy-preview:
Expand All @@ -236,6 +239,7 @@ workflows:
- dotnet-5.0
- dotnet-6.0
- dotnet-7.0
- dotnet-8.0
- dotnet-windows
filters:
branches:
Expand Down

0 comments on commit db689c7

Please sign in to comment.