Skip to content

Commit 0f36bcc

Browse files
committed
Upgrade to 5.0 also CI configurations and some projects
1 parent 0397d4d commit 0f36bcc

File tree

7 files changed

+8
-5
lines changed

7 files changed

+8
-5
lines changed

.github/workflows/dotnet-core.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET Core
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 3.1.101
19+
dotnet-version: 5.0.x
2020
- name: Install dependencies
2121
run: dotnet restore
2222
- name: Build

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: csharp
22
solution: fslugify.sln
33

44
mono: none
5-
dotnet: 3.0.100
5+
dotnet: 5.0
66
script:
77
- dotnet build -c Release
88
- dotnet test -c Release --no-build

samples/CSharp.Sample/CSharp.Sample.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

samples/FSharp.ComputationExpression/FSharp.ComputationExpression.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

samples/FSharp.Sample/FSharp.Sample.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

tests/FSlugify/FSlugify.Tests.fsproj

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
<ItemGroup>
1616
<Compile Include="SlugGeneratorTests.fs" />
17+
<Compile Include="Main.fs" />
1718
</ItemGroup>
1819

1920
<ItemGroup>

tests/FSlugify/Main.fs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[<EntryPoint>]
2+
let main argv = 0

0 commit comments

Comments
 (0)