Skip to content

Commit

Permalink
Let us use C# 9 (#1609)
Browse files Browse the repository at this point in the history
* Let us use C# 9

* Make the build happy
  • Loading branch information
alexeyzimarev committed Jul 15, 2021
1 parent da0bb9f commit 0d42f78
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 18 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/build-dev.yml
Expand Up @@ -12,18 +12,6 @@ on:
- '*'

jobs:
# test-netcore-linux:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2.3.4
# - uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '3.1.201'
#
# - name: Run tests netcoreapp3.1
# run: dotnet test -c Release -f netcoreapp3.1

test-win:
runs-on: windows-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-dotnet@v1.8.1
with:
dotnet-version: '3.1.201'
dotnet-version: '5.0'

- name: Run tests
run: dotnet test -c Release
Expand Down
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net452;net5</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net452|AnyCPU'">
<WarningLevel>0</WarningLevel>
Expand Down
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net5</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/RestSharp.Tests.Shared/RestSharp.Tests.Shared.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net452;net5</TargetFrameworks>
<IsTestProject>false</IsTestProject>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/RestSharp.Tests/RestSharp.Tests.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net452;net5</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Moq" Version="4.16.1" />
Expand Down

0 comments on commit 0d42f78

Please sign in to comment.