Skip to content

Commit 59643a2

Browse files
authored
Feature/upgrade dotnet10 (#148)
* Upgraded to dotnet10
1 parent 64184cc commit 59643a2

13 files changed

Lines changed: 28 additions & 24 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: docker save -o ${{ steps.build.outputs.imageid }}.tar ${{ steps.build.outputs.imageid }}
3737

3838
- name: Scan Docker image for CVEs
39-
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5 # 0.30.0
39+
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # 0.34.2
4040
with:
4141
input: ${{ steps.build.outputs.imageid }}.tar
4242
format: 'sarif'
@@ -48,6 +48,6 @@ jobs:
4848

4949
- name: Upload scan results to GitHub Security
5050
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3
51-
if: always()
51+
if: always() && hashFiles('trivy-results.sarif') != ''
5252
with:
5353
sarif_file: 'trivy-results.sarif'

.github/workflows/dotnet-ci.yml

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

88
env:
99
JAVA_VERSION: '21'
10-
DOTNET_VERSION: '8.0.x'
10+
DOTNET_VERSION: '10.0.x'
1111

1212
jobs:
1313
build:

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ All notable changes to this service will be documented in this file.
6464
### Notes
6565
- Added root level template property "hideFieldLabelWhenOnlyOneField" to toggle labels hiding for single field pages.
6666

67-
- ## [1.2.13]
67+
## [1.2.13]
6868
### Notes
69-
- Replaced hardcoded values with Layout:ServiceName
69+
- Replaced hardcoded values with Layout:ServiceName
70+
71+
## [1.3.0]
72+
### Notes
73+
- Upgraded to .NET10

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Set the major version of dotnet
2-
ARG DOTNET_VERSION=8.0
2+
ARG DOTNET_VERSION=10.0
33
# Application to build (Transfers, Lsrp, etc.) - determines which configuration folder to use
44
ARG APPLICATION=Transfers
55

src/DfE.ExternalApplications.Application/DfE.ExternalApplications.Application.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="GovUK.Dfe.ExternalApplications.Api.Client" Version="0.1.40" />
10+
<PackageReference Include="GovUK.Dfe.ExternalApplications.Api.Client" Version="0.1.42-prerelease-7" />
1111
<PackageReference Include="Microsoft.AspNetCore.Http.Features" Version="2.3.0" />
1212
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.3.0" />
1313
</ItemGroup>

src/DfE.ExternalApplications.Domain/DfE.ExternalApplications.Domain.csproj

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

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

src/DfE.ExternalApplications.Infrastructure/Consumers/ScanResultConsumer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ private async Task CleanupCollectionFlowSessionsAsync(Guid applicationId, Guid f
613613
try
614614
{
615615
// Parse the flow progress data
616-
var flowData = JsonSerializer.Deserialize<Dictionary<string, object>>(sessionData!);
616+
var flowData = JsonSerializer.Deserialize<Dictionary<string, object>>((string)sessionData!);
617617
if (flowData == null)
618618
continue;
619619

src/DfE.ExternalApplications.Infrastructure/DfE.ExternalApplications.Infrastructure.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<PackageReference Include="GovUK.Dfe.CoreLibs.Caching" Version="1.0.12" />
11-
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
11+
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.0" />
1212
<PackageReference Include="GovUK.Dfe.CoreLibs.Messaging.Contracts" Version="0.1.5" />
1313
<PackageReference Include="GovUK.Dfe.CoreLibs.Messaging.MassTransit" Version="0.1.3" />
1414
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.3.0" />

src/DfE.ExternalApplications.Web/DfE.ExternalApplications.Web.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>8051c984-585b-4a5e-b6d7-833e5dd4afe7</UserSecretsId>
8-
<Version>1.2.13</Version>
9-
<InformationalVersion>1.2.13</InformationalVersion>
8+
<Version>1.3.0</Version>
9+
<InformationalVersion>1.3.0</InformationalVersion>
1010
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1111
</PropertyGroup>
1212

src/DfE.ExternalApplications.Web/configurations/Lsrp/appsettings.Development.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"ApplicationInsights": {
33
"ConnectionString": "",
4-
"CookieDomain": "s184d01-rsd-frontdoor-extapp-lsrp-gqfzg3agadhmg4aj.a03.azurefd.net"
4+
"CookieDomain": "dev.submit-send-reform-plans.education.gov.uk"
55
},
66
"DfESignIn": {
7-
"RedirectUri": "https://s184d01-rsd-frontdoor-extapp-lsrp-gqfzg3agadhmg4aj.a03.azurefd.net/signin-oidc",
7+
"RedirectUri": "https://dev.submit-send-reform-plans.education.gov.uk/signin-oidc",
88
"Authority": "https://test-oidc.signin.education.gov.uk"
99
},
1010
"ExternalApplicationsApiClient": {

0 commit comments

Comments
 (0)