Skip to content

Commit e675f30

Browse files
committed
Migrate to dotnet 8
1 parent d8b6a9f commit e675f30

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/pr-verification.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
66
build-extension:
77
runs-on: ubuntu-latest
8-
env:
8+
env:
99
DOTNET_NOLOGO: true
1010
DOTNET_CLI_TELEMETRY_OPTOUT: true
1111
RepositoryUrl: 'https://github.com/${{ github.repository }}'
@@ -18,23 +18,23 @@ jobs:
1818
PackageReleaseNotes: 'https://github.com/${{ github.repository }}/releases'
1919
ContinuousIntegrationBuild: true
2020
steps:
21-
- uses: actions/checkout@v2
22-
- name: Setup .NET Core 7
21+
- uses: actions/checkout@v2
22+
- name: Setup .NET Core 8
2323
uses: actions/setup-dotnet@v1
2424
with:
25-
dotnet-version: '7.0'
25+
dotnet-version: '8.0'
2626
- name: Calculate next version
2727
uses: cezarypiatek/[email protected]
2828
with:
2929
minor-pattern: '.*'
3030
major-pattern: 'BREAKING CHANGES'
31-
output-to-env-variable: 'VersionPrefix'
31+
output-to-env-variable: 'VersionPrefix'
3232
- name: Restore dependencies
3333
run: |
3434
dotnet nuget locals all --clear
3535
dotnet restore ${{ env.SolutionPath }}
3636
- name: Build extension
37-
run: dotnet build ${{ env.SolutionPath }} -maxcpucount:1
37+
run: dotnet build ${{ env.SolutionPath }} -maxcpucount:1
3838
- name: Set up Docker Buildx
3939
uses: docker/setup-buildx-action@v2
4040
- name: Build docker

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
PackageLicenseExpression: 'MIT'
2525
steps:
2626
- uses: actions/checkout@v2
27-
- name: Setup .NET Core 7
27+
- name: Setup .NET Core 8
2828
uses: actions/setup-dotnet@v1
2929
with:
30-
dotnet-version: '7.0'
30+
dotnet-version: '8.0'
3131
- name: Calculate next version
3232
uses: cezarypiatek/[email protected]
3333
with:
@@ -41,7 +41,7 @@ jobs:
4141
shell: pwsh
4242
- name: Build extension
4343
run: |
44-
dotnet build $env:SolutionPath -maxcpucount:1
44+
dotnet build $env:SolutionPath -maxcpucount:1
4545
shell: pwsh
4646
- name: Generate release note
4747
run: |

src/GrpcMockServer/GrpcMockServer.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
@@ -22,8 +22,8 @@
2222
<PackageReference Include="GrpcTestKit" Version="1.0.0" />
2323
</ItemGroup>
2424
<ItemGroup>
25-
<PackageReference Include="Grpc.AspNetCore" Version="2.53.0" />
26-
<PackageReference Include="WireMock.Net" Version="1.5.25" />
25+
<PackageReference Include="Grpc.AspNetCore" Version="2.66.0" />
26+
<PackageReference Include="WireMock.Net" Version="1.6.7" />
2727
</ItemGroup>
2828

2929

src/GrpcTestKit.Demo/GrpcTestKit.Demo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

src/dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:7.0
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0
22
ADD ./ /src
33
ADD run.sh /src/run.sh
44
RUN chmod +x /src/run.sh

0 commit comments

Comments
 (0)