⬆️ Upgrade to .NET 6.0
continuous-integration/drone/push Build is passing Details

pull/2/head
Alexis Drai 3 years ago
parent 1d11244d1b
commit 99e82ead0e

@ -8,7 +8,7 @@ trigger:
steps: steps:
- name: build - name: build
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:6.0
commands: commands:
- cd Sources/ - cd Sources/
- dotnet restore DiceApp.sln - dotnet restore DiceApp.sln
@ -16,7 +16,7 @@ steps:
- dotnet publish DiceApp.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - dotnet publish DiceApp.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
- name: tests - name: tests
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:6.0
commands: commands:
- cd Sources/ - cd Sources/
- dotnet restore DiceApp.sln - dotnet restore DiceApp.sln

@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

@ -1,7 +1,7 @@
using Model; using Model;
using Xunit; using Xunit;
namespace Tests namespace Tests.Model_UTs
{ {
public class DieTest public class DieTest
{ {

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
</PropertyGroup> </PropertyGroup>

Loading…
Cancel
Save