Skip to content

Commit 5e2265c

Browse files
authored
Update test projects to net5.0. (#120)
1 parent 6b42eab commit 5e2265c

5 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ jobs:
5353
with:
5454
fetch-depth: 0
5555
submodules: recursive
56-
- name: Setup dotnet SDK 3
57-
uses: actions/setup-dotnet@v1
58-
with:
59-
dotnet-version: "3.1.411"
60-
- name: Setup dotnet SDK 5 # This gets us net461
56+
- name: Setup dotnet SDK
6157
uses: actions/setup-dotnet@v1
6258
with:
6359
dotnet-version: "5.0.300"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Winton.Extensions.Configuration.Consul
22

3-
[![Appveyor](https://ci.appveyor.com/api/projects/status/vlouj9n5ahqsgql9/branch/master?svg=true)](https://ci.appveyor.com/project/wintoncode/winton-extensions-configuration-consul/branch/master)
4-
[![Travis CI](https://travis-ci.com/wintoncode/Winton.Extensions.Configuration.Consul.svg?branch=master)](https://travis-ci.com/wintoncode/Winton.Extensions.Configuration.Consul)
3+
[![Build history](https://buildstats.info/github/chart/wintoncode/Winton.Extensions.Configuration.Consul?branch=master)](https://github.com/wintoncode/Winton.Extensions.Configuration.Consul/actions)
4+
55
[![NuGet version](https://img.shields.io/nuget/v/Winton.Extensions.Configuration.Consul.svg)](https://www.nuget.org/packages/Winton.Extensions.Configuration.Consul)
66
[![NuGet version](https://img.shields.io/nuget/vpre/Winton.Extensions.Configuration.Consul.svg)](https://www.nuget.org/packages/Winton.Extensions.Configuration.Consul)
77

test/Website/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0
1+
FROM mcr.microsoft.com/dotnet/aspnet:5.0
22

3-
COPY bin/Release/netcoreapp3.0/publish /app
3+
COPY bin/Release/net5.0/publish /app
44
WORKDIR /app
55

66
EXPOSE 80/tcp

test/Website/Website.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>Winton.Extensions.Configuration.Consul.Test.Website</AssemblyName>
55
<RootNamespace>Winton.Extensions.Configuration.Consul.Website</RootNamespace>
6-
<TargetFramework>netcoreapp3.0</TargetFramework>
6+
<TargetFramework>net5.0</TargetFramework>
77
</PropertyGroup>
88

99
<ItemGroup>

test/Winton.Extensions.Configuration.Consul.Test/Winton.Extensions.Configuration.Consul.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<RootNamespace>Winton.Extensions.Configuration.Consul</RootNamespace>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)