Skip to content

Commit ca4920f

Browse files
authored
support dotnet 9
1 parent e33961d commit ca4920f

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v4
2424
- uses: actions/setup-dotnet@v4
2525
with:
26-
dotnet-version: '8.0.x'
26+
dotnet-version: '9.0.x'
2727
dotnet-quality: 'preview'
2828
- name: Initialize CodeQL
2929
uses: github/codeql-action/init@v3

.github/workflows/spms-dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-dotnet@v4
2222
with:
23-
dotnet-version: '8.0.x'
23+
dotnet-version: '9.0.x'
2424
dotnet-quality: 'preview'
2525
- name: Install Dependencies
2626
run: dotnet restore

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build-env
22
WORKDIR /App
33

44
# Copy everything
@@ -9,7 +9,7 @@ RUN dotnet restore
99
RUN dotnet publish SimplePasswordManagerService -c Release -o out
1010

1111
# Build runtime image
12-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
12+
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine
1313
WORKDIR /App
1414
COPY --from=build-env /App/out .
1515
ENTRYPOINT ["dotnet", "SimplePasswordManagerService.dll"]

SimplePasswordManagerService.Business.Tests/SimplePasswordManagerService.Business.Tests.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>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

SimplePasswordManagerService.Business/SimplePasswordManagerService.Business.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>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>

SimplePasswordManagerService.Infra/src/SimplePasswordManagerServiceInfra/SimplePasswordManagerService.Infra.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<!-- Roll forward to future major versions of the netcoreapp as needed -->
77
<RollForward>Major</RollForward>
88
</PropertyGroup>

SimplePasswordManagerService.Integration.Tests/SimplePasswordManagerService.Integration.Tests.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>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

SimplePasswordManagerService/SimplePasswordManagerService.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.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>aspnet-SimplePasswordManagerService-e87cf52d-48e4-43d3-8946-706d8aade0ef</UserSecretsId>

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
depends_on:
1515
- db
1616
db:
17-
image: mongo:6
17+
image: mongo:8
1818
environment:
1919
MONGO_INITDB_ROOT_USERNAME: root
2020
MONGO_INITDB_ROOT_PASSWORD: examplepass

0 commit comments

Comments
 (0)