File tree Expand file tree Collapse file tree 6 files changed +31
-11
lines changed Expand file tree Collapse file tree 6 files changed +31
-11
lines changed Original file line number Diff line number Diff line change 11
11
- uses : actions/checkout@v2
12
12
with :
13
13
fetch-depth : 0
14
- - name : Setup dotnet SDK 2.1
15
- uses : actions/setup-dotnet@v1
16
- with :
17
- dotnet-version : ' 2.1.x'
18
14
- name : Setup dotnet SDK 3.1
19
15
uses : actions/setup-dotnet@v1
20
16
with :
@@ -23,12 +19,14 @@ jobs:
23
19
uses : actions/setup-dotnet@v1
24
20
with :
25
21
dotnet-version : ' 5.0.x'
26
- - name : Setup Format
27
- run : dotnet tool install -g dotnet-format
22
+ - name : Setup dotnet SDK 6
23
+ uses : actions/setup-dotnet@v1
24
+ with :
25
+ dotnet-version : ' 6.0.x'
28
26
- name : Check Format
29
27
# don't check formatting on Windows b/c of CRLF issues.
30
- if : matrix.os != 'windows -latest'
31
- run : dotnet format --check --exclude ./src/KubernetesClient/generated/
28
+ if : matrix.os == 'ubuntu -latest'
29
+ run : dotnet format --severity error --verify-no-changes --exclude ./src/KubernetesClient/generated/
32
30
- name : Build
33
31
run : dotnet build --configuration Release
34
32
- name : Test
52
50
uses : actions/setup-dotnet@v1
53
51
with :
54
52
dotnet-version : ' 5.0.x'
53
+ - name : Setup dotnet SDK 6
54
+ uses : actions/setup-dotnet@v1
55
+ with :
56
+ dotnet-version : ' 6.0.x'
55
57
- name : Minikube
56
58
run : minikube start
57
59
- name : Test
Original file line number Diff line number Diff line change 25
25
with :
26
26
fetch-depth : 0
27
27
28
+ - name : Setup dotnet SDK 3.1
29
+ uses : actions/setup-dotnet@v1
30
+ with :
31
+ dotnet-version : ' 3.1.x'
32
+ - name : Setup dotnet SDK 5
33
+ uses : actions/setup-dotnet@v1
34
+ with :
35
+ dotnet-version : ' 5.0.x'
36
+ - name : Setup dotnet SDK 6
37
+ uses : actions/setup-dotnet@v1
38
+ with :
39
+ dotnet-version : ' 6.0.x'
40
+
28
41
# Initializes the CodeQL tools for scanning.
29
42
- name : Initialize CodeQL
30
43
uses : github/codeql-action/init@v1
Original file line number Diff line number Diff line change 24
24
with :
25
25
dotnet-version : 5.0.x
26
26
27
+ - name : .NET 6.x SDK
28
+ uses : actions/setup-dotnet@v1
29
+ with :
30
+ dotnet-version : 6.0.x
31
+
27
32
- name : dotnet restore
28
33
run : dotnet restore --verbosity minimal --configfile nuget.config
29
34
Original file line number Diff line number Diff line change 10
10
<PackageIconUrl >https://raw.githubusercontent.com/kubernetes/kubernetes/master/logo/logo.png</PackageIconUrl >
11
11
<PackageTags >kubernetes;docker;containers;</PackageTags >
12
12
13
- <TargetFrameworks >netstandard2.1;net5.0 </TargetFrameworks >
13
+ <TargetFrameworks >netstandard2.1;net5;net6 </TargetFrameworks >
14
14
<RootNamespace >k8s</RootNamespace >
15
15
<SignAssembly >true</SignAssembly >
16
16
<GenerateDocumentationFile >true</GenerateDocumentationFile >
Original file line number Diff line number Diff line change 3
3
<IsPackable >false</IsPackable >
4
4
<SignAssembly >true</SignAssembly >
5
5
<RootNamespace >k8s.E2E</RootNamespace >
6
- <TargetFrameworks >net5.0; netcoreapp3.1</TargetFrameworks >
6
+ <TargetFrameworks >netcoreapp3.1;net5;net6 </TargetFrameworks >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
Original file line number Diff line number Diff line change 4
4
<LangVersion >8</LangVersion >
5
5
<SignAssembly >true</SignAssembly >
6
6
<RootNamespace >k8s.Tests</RootNamespace >
7
- <TargetFrameworks >net5; netcoreapp3.1</TargetFrameworks >
7
+ <TargetFrameworks >netcoreapp3.1;net5;net6 </TargetFrameworks >
8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
You can’t perform that action at this time.
0 commit comments