Skip to content

Commit e4cc7ca

Browse files
authored
Merge pull request #169 from rvrane-aws/master
Update RecommendationBatchUpdater for .NET 10.0 framework support
2 parents f50ed0b + d24005d commit e4cc7ca

File tree

67 files changed

+1422
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1422
-13
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Check for secrets leak on the repo
1717
run: |
1818
git clone https://github.com/awslabs/git-secrets.git target
@@ -23,14 +23,10 @@ jobs:
2323
echo "Added aws secret templates"
2424
git secrets --scan -r ../
2525
echo "Repository scan completed"
26-
- name: Setup .NET Core
27-
uses: actions/setup-dotnet@v1
26+
- name: Setup .NET 8
27+
uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: 3.1.301
30-
- name: Setup .NET Core 5
31-
uses: actions/setup-dotnet@v1
32-
with:
33-
dotnet-version: 5.0.301
29+
dotnet-version: '8.0.x'
3430
- name: Install dependencies
3531
run: dotnet restore RecommendationTools/RecommendationValidator/RecommendationValidator.csproj
3632
- name: Validate

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<configuration>
33
<packageSources>
44
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5-
<add key="dotnet" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
5+
<!-- <add key="dotnet" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> -->
66
<add key="encore-nuget" value="https://s3-us-west-2.amazonaws.com/aws.portingassistant.dotnet.download/nuget/index.json" />
77
</packageSources>
88
</configuration>

RecommendationTools/RecommendationBatchUpdater/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ static void Main(string[] args)
1717
// NOTE: We need to verify compatibility of packages added by rules with //
1818
// the target framework being added. //
1919
///////////////////////////////////////////////////////////////////////////
20-
const string PreviousDotnetVersion = "net8.0";
21-
const string NextDotnetVersion = "net9.0";
20+
const string PreviousDotnetVersion = "net9.0";
21+
const string NextDotnetVersion = "net10.0";
2222

2323
var recommendations = Loader.LoadBatchRecommendations(o.Directory);
2424
Updater.BatchAddFramework(recommendations, NextDotnetVersion, PreviousDotnetVersion);

RecommendationTools/RecommendationBatchUpdater/RecommendationBatchUpdater.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
</PropertyGroup>
77

88
<ItemGroup>

RecommendationTools/RecommendationValidator/RecommendationValidator.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>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

recommendation/antlr.runtime.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Add a reference to Antlr3.Runtime",

recommendation/antlr.runtime.misc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Add reference to Antlr3.Runtime",

recommendation/antlr.runtime.tree.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Add a reference to Antlr3.Runtime",

recommendation/corewcf.channels.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Replace System.ServiceModel.Channels with CoreWCF.Channels Namespace. Check CoreWCF Compatibility at https://github.com/CoreWCF/CoreWCF/releases",

recommendation/corewcf.codebased.project.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@
7070
"ARM32",
7171
"ARM64"
7272
]
73+
},
74+
{
75+
"Name": "net10.0",
76+
"TargetCPU": [
77+
"x86",
78+
"x64",
79+
"ARM32",
80+
"ARM64"
81+
]
7382
}
7483
],
7584
"Description": "",

0 commit comments

Comments
 (0)