Skip to content

Commit

Permalink
Use .NET 6 SDK (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia authored Dec 19, 2022
1 parent 24aa948 commit da0f0ac
Show file tree
Hide file tree
Showing 43 changed files with 717 additions and 488 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.405'
dotnet-version: |
5.0.x
6.0.x
- uses: actions/cache@v2
with:
path: ~/.nuget/packages
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.405'
dotnet-version: |
5.0.x
6.0.x
- uses: actions/cache@v2
with:
path: ~/.nuget/packages
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.405'
dotnet-version: |
5.0.x
6.0.x
- uses: actions/cache@v2
with:
path: ~/.nuget/packages
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.405'
dotnet-version: |
5.0.x
6.0.x
- uses: actions/cache@v2
with:
path: ~/.nuget/packages
Expand Down Expand Up @@ -66,7 +68,9 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.405'
dotnet-version: |
5.0.x
6.0.x
- uses: actions/cache@v2
with:
path: ~/.nuget/packages
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Added `dependabot_changelog` workflow ([#118](https://github.com/opensearch-project/opensearch-net/pull/118))

### Changed
- Updated SDK to .NET 6 ([#126](https://github.com/opensearch-project/opensearch-net/pull/126))

### Deprecated

Expand Down
38 changes: 23 additions & 15 deletions abstractions/src/OpenSearch.OpenSearch.Ephemeral/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,18 @@
"opensearch.opensearch.managed": {
"type": "Project",
"dependencies": {
"OpenSearch.Stack.ArtifactsApi": "1.1.0",
"Proc": "0.6.1",
"System.Net.Http": "4.3.4"
"OpenSearch.Stack.ArtifactsApi": "[1.2.1, )",
"Proc": "[0.6.1, )",
"System.Net.Http": "[4.3.4, )"
}
},
"opensearch.stack.artifactsapi": {
"type": "Project",
"dependencies": {
"SemanticVersioning": "0.8.0",
"System.Net.Http": "4.3.4",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Text.Json": "6.0.5"
"SemanticVersioning": "[0.8.0, )",
"System.Net.Http": "[4.3.4, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )",
"System.Text.Json": "[6.0.5, )"
}
}
},
Expand All @@ -167,7 +167,10 @@
"type": "Direct",
"requested": "[1.0.0-preview.2, )",
"resolved": "1.0.0-preview.2",
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg=="
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==",
"dependencies": {
"Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2"
}
},
"NETStandard.Library": {
"type": "Direct",
Expand Down Expand Up @@ -205,6 +208,11 @@
"resolved": "1.1.0",
"contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg=="
},
"Microsoft.NETFramework.ReferenceAssemblies.net461": {
"type": "Transitive",
"resolved": "1.0.0-preview.2",
"contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg=="
},
"Microsoft.Win32.Primitives": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -930,18 +938,18 @@
"opensearch.opensearch.managed": {
"type": "Project",
"dependencies": {
"OpenSearch.Stack.ArtifactsApi": "1.1.0",
"Proc": "0.6.1",
"System.Net.Http": "4.3.4"
"OpenSearch.Stack.ArtifactsApi": "[1.2.1, )",
"Proc": "[0.6.1, )",
"System.Net.Http": "[4.3.4, )"
}
},
"opensearch.stack.artifactsapi": {
"type": "Project",
"dependencies": {
"SemanticVersioning": "0.8.0",
"System.Net.Http": "4.3.4",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Text.Json": "6.0.5"
"SemanticVersioning": "[0.8.0, )",
"System.Net.Http": "[4.3.4, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )",
"System.Text.Json": "[6.0.5, )"
}
}
}
Expand Down
26 changes: 17 additions & 9 deletions abstractions/src/OpenSearch.OpenSearch.Managed/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@
"opensearch.stack.artifactsapi": {
"type": "Project",
"dependencies": {
"SemanticVersioning": "0.8.0",
"System.Net.Http": "4.3.4",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Text.Json": "6.0.5"
"SemanticVersioning": "[0.8.0, )",
"System.Net.Http": "[4.3.4, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )",
"System.Text.Json": "[6.0.5, )"
}
}
},
Expand All @@ -154,7 +154,10 @@
"type": "Direct",
"requested": "[1.0.0-preview.2, )",
"resolved": "1.0.0-preview.2",
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg=="
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==",
"dependencies": {
"Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2"
}
},
"NETStandard.Library": {
"type": "Direct",
Expand Down Expand Up @@ -227,6 +230,11 @@
"resolved": "1.1.0",
"contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg=="
},
"Microsoft.NETFramework.ReferenceAssemblies.net461": {
"type": "Transitive",
"resolved": "1.0.0-preview.2",
"contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg=="
},
"Microsoft.Win32.Primitives": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -910,10 +918,10 @@
"opensearch.stack.artifactsapi": {
"type": "Project",
"dependencies": {
"SemanticVersioning": "0.8.0",
"System.Net.Http": "4.3.4",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Text.Json": "6.0.5"
"SemanticVersioning": "[0.8.0, )",
"System.Net.Http": "[4.3.4, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )",
"System.Text.Json": "[6.0.5, )"
}
}
}
Expand Down
48 changes: 28 additions & 20 deletions abstractions/src/OpenSearch.OpenSearch.Xunit/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,26 +196,26 @@
"opensearch.opensearch.ephemeral": {
"type": "Project",
"dependencies": {
"OpenSearch.OpenSearch.Managed": "1.1.0",
"SharpZipLib.NETStandard": "1.0.7",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0"
"OpenSearch.OpenSearch.Managed": "[1.2.1, )",
"SharpZipLib.NETStandard": "[1.0.7, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )"
}
},
"opensearch.opensearch.managed": {
"type": "Project",
"dependencies": {
"OpenSearch.Stack.ArtifactsApi": "1.1.0",
"Proc": "0.6.1",
"System.Net.Http": "4.3.4"
"OpenSearch.Stack.ArtifactsApi": "[1.2.1, )",
"Proc": "[0.6.1, )",
"System.Net.Http": "[4.3.4, )"
}
},
"opensearch.stack.artifactsapi": {
"type": "Project",
"dependencies": {
"SemanticVersioning": "0.8.0",
"System.Net.Http": "4.3.4",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Text.Json": "6.0.5"
"SemanticVersioning": "[0.8.0, )",
"System.Net.Http": "[4.3.4, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )",
"System.Text.Json": "[6.0.5, )"
}
}
},
Expand All @@ -224,7 +224,10 @@
"type": "Direct",
"requested": "[1.0.0-preview.2, )",
"resolved": "1.0.0-preview.2",
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg=="
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==",
"dependencies": {
"Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2"
}
},
"NETStandard.Library": {
"type": "Direct",
Expand Down Expand Up @@ -264,6 +267,11 @@
"resolved": "1.1.0",
"contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg=="
},
"Microsoft.NETFramework.ReferenceAssemblies.net461": {
"type": "Transitive",
"resolved": "1.0.0-preview.2",
"contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg=="
},
"Microsoft.Win32.Primitives": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -1042,25 +1050,25 @@
"opensearch.opensearch.ephemeral": {
"type": "Project",
"dependencies": {
"OpenSearch.OpenSearch.Managed": "1.1.0",
"SharpZipLib.NETStandard": "1.0.7"
"OpenSearch.OpenSearch.Managed": "[1.2.1, )",
"SharpZipLib.NETStandard": "[1.0.7, )"
}
},
"opensearch.opensearch.managed": {
"type": "Project",
"dependencies": {
"OpenSearch.Stack.ArtifactsApi": "1.1.0",
"Proc": "0.6.1",
"System.Net.Http": "4.3.4"
"OpenSearch.Stack.ArtifactsApi": "[1.2.1, )",
"Proc": "[0.6.1, )",
"System.Net.Http": "[4.3.4, )"
}
},
"opensearch.stack.artifactsapi": {
"type": "Project",
"dependencies": {
"SemanticVersioning": "0.8.0",
"System.Net.Http": "4.3.4",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Text.Json": "6.0.5"
"SemanticVersioning": "[0.8.0, )",
"System.Net.Http": "[4.3.4, )",
"System.Runtime.InteropServices.RuntimeInformation": "[4.3.0, )",
"System.Text.Json": "[6.0.5, )"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@
"type": "Direct",
"requested": "[1.0.0-preview.2, )",
"resolved": "1.0.0-preview.2",
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg=="
"contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==",
"dependencies": {
"Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2"
}
},
"NETStandard.Library": {
"type": "Direct",
Expand Down Expand Up @@ -244,6 +247,11 @@
"resolved": "1.1.0",
"contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg=="
},
"Microsoft.NETFramework.ReferenceAssemblies.net461": {
"type": "Transitive",
"resolved": "1.0.0-preview.2",
"contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg=="
},
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"type": "Transitive",
"resolved": "4.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
Loading

0 comments on commit da0f0ac

Please sign in to comment.