Skip to content

Commit 0f09cd5

Browse files
authored
Merge pull request #69 from marcominerva/develop
Update .NET to 9.x, CodeQL to v3, and super-linter to v7.2.0
2 parents 98a6896 + c03bc93 commit 0f09cd5

File tree

13 files changed

+30
-29
lines changed

13 files changed

+30
-29
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- cron: '0 0 1,15 * *'
1313

1414
env:
15-
NET_VERSION: '7.x'
15+
NET_VERSION: '9.x'
1616

1717
jobs:
1818
analyze:
@@ -41,10 +41,10 @@ jobs:
4141
with:
4242
dotnet-version: ${{ env.NET_VERSION }}
4343
dotnet-quality: 'ga'
44-
44+
4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v2
47+
uses: github/codeql-action/init@v3
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -57,7 +57,7 @@ jobs:
5757
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5858
# If this step fails, then you should remove it and run the build manually (see below)
5959
- name: Autobuild
60-
uses: github/codeql-action/autobuild@v2
60+
uses: github/codeql-action/autobuild@v3
6161

6262
# ?? Command-line programs to run using the OS shell.
6363
# ?? See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -70,4 +70,4 @@ jobs:
7070
# ./location_of_script_within_repo/buildscript.sh
7171

7272
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@v2
73+
uses: github/codeql-action/analyze@v3

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# Run Linter against code base #
4141
################################
4242
- name: Lint Code Base
43-
uses: github/super-linter@v4
43+
uses: super-linter/super-linter@v7.2.0
4444
env:
4545
LINTER_RULES_PATH: '.'
4646
EDITORCONFIG_FILE_NAME: '.editorconfig'

.github/workflows/publish.yml

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

99
env:
10-
NET_VERSION: '8.x'
10+
NET_VERSION: '9.x'
1111
PROJECT_NAME: src/OperationResults
1212
PROJECT_FILE: OperationResults.csproj
1313
RELEASE_NAME: OperationResultTools

.github/workflows/publish_aspnetcore.yml

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

99
env:
10-
NET_VERSION: '8.x'
10+
NET_VERSION: '9.x'
1111
PROJECT_NAME: src/OperationResults.AspNetCore
1212
PROJECT_FILE: OperationResults.AspNetCore.csproj
1313
TAG_NAME: aspnetcore

.github/workflows/publish_minimalapi.yml

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

99
env:
10-
NET_VERSION: '8.x'
10+
NET_VERSION: '9.x'
1111
PROJECT_NAME: src/OperationResults.AspNetCore.Http
1212
PROJECT_FILE: OperationResults.AspNetCore.Http.csproj
1313
TAG_NAME: minimalapi

samples/Controllers/OperationResults.Sample/OperationResults.Sample.csproj

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

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

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.10" />
10-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
11-
<PackageReference Include="TinyHelpers.AspNetCore" Version="3.1.19" />
9+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.1" />
10+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
11+
<PackageReference Include="TinyHelpers.AspNetCore" Version="4.0.15" />
12+
<PackageReference Include="TinyHelpers.AspNetCore.Swashbuckle" Version="4.0.8" />
1213
</ItemGroup>
1314

1415
<ItemGroup>

samples/MinimalApis/OperationResults.Sample/OperationResults.Sample.csproj

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

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

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.10" />
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.10" />
11-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
9+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.1" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.1" />
11+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

samples/OperationResults.Sample.BusinessLayer/OperationResults.Sample.BusinessLayer.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
</PropertyGroup>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

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

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
9+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.1" />
1010
</ItemGroup>
1111
</Project>

samples/OperationResults.Sample.Shared/OperationResults.Sample.Shared.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
</PropertyGroup>
77

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.146" PrivateAssets="All" />
12+
<PackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" PrivateAssets="All" />
1313
</ItemGroup>
1414

1515
</Project>

src/OperationResults/OperationResults.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<LangVersion>latest</LangVersion>
88
<Authors>Marco Minerva</Authors>
99
<Company>Marco Minerva</Company>
1010
<Product>OperationResults</Product>
1111
<Title>OperationResults</Title>
12-
<Description>A lightweight library to totally decouple operation results and actual application responses..</Description>
12+
<Description>A lightweight library to totally decouple operation results and actual application responses.</Description>
1313
<PackageId>OperationResultTools</PackageId>
1414
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1515
<PackageProjectUrl>https://github.com/marcominerva/OperationResults</PackageProjectUrl>

tests/OperationResultsTests/OperationResultsTests.csproj

Lines changed: 5 additions & 5 deletions
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

@@ -10,13 +10,13 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="coverlet.collector" Version="6.0.2">
13+
<PackageReference Include="coverlet.collector" Version="6.0.3">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
18-
<PackageReference Include="xunit" Version="2.9.2" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
18+
<PackageReference Include="xunit" Version="2.9.3" />
19+
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>

0 commit comments

Comments
 (0)