Skip to content

Commit 5ebdad0

Browse files
committed
renovate: lets see if this works
1 parent 83271e8 commit 5ebdad0

File tree

3 files changed

+140
-124
lines changed

3 files changed

+140
-124
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,22 @@ jobs:
5959
uses: actions/setup-dotnet@v4
6060
with:
6161
dotnet-version: '8.0.101'
62-
- name: 🎁 dotnet tool restore
62+
- name: 🚒 dotnet workload restore
63+
continue-on-error: true
64+
run: |
65+
dotnet workload restore
66+
- name: ⚒️ dotnet tool restore
6367
run: |
6468
dotnet tool restore
65-
- name: Workloads
69+
- name: 🚒 Workloads
6670
id: workloads
6771
run: |
6872
dotnet nuke Workloads --skip
6973
- name: 🎁 Restore
7074
id: restore
7175
run: |
7276
dotnet nuke Restore --skip
73-
- name: ⚙ Build
77+
- name: Build
7478
id: build
7579
run: |
7680
dotnet nuke Build --skip
@@ -86,7 +90,7 @@ jobs:
8690
id: gitHubActions
8791
run: |
8892
dotnet nuke GitHubActions --skip
89-
- name: 🐿 Publish Coverage
93+
- name: 📫 Publish Coverage
9094
uses: codecov/codecov-action@v3.1.4
9195
with:
9296
name: 'actions-${{ matrix.os }}'

.nuke/build.schema.json

Lines changed: 104 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,83 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"$ref": "#/definitions/build",
4-
"title": "Build Schema",
53
"definitions": {
6-
"build": {
7-
"type": "object",
4+
"Host": {
5+
"type": "string",
6+
"enum": [
7+
"AppVeyor",
8+
"AzurePipelines",
9+
"Bamboo",
10+
"Bitbucket",
11+
"Bitrise",
12+
"GitHubActions",
13+
"GitLab",
14+
"Jenkins",
15+
"Rider",
16+
"SpaceAutomation",
17+
"TeamCity",
18+
"Terminal",
19+
"TravisCI",
20+
"VisualStudio",
21+
"VSCode"
22+
]
23+
},
24+
"ExecutableTarget": {
25+
"type": "string",
26+
"enum": [
27+
"Build",
28+
"Clean",
29+
"CoreBuild",
30+
"CorePack",
31+
"CoreRestore",
32+
"CoreTest",
33+
"Default",
34+
"DotNetFormat",
35+
"DotnetToolRestore",
36+
"GenerateCodeCoverageBadges",
37+
"GenerateCodeCoverageReport",
38+
"GenerateCodeCoverageReportCobertura",
39+
"GenerateCodeCoverageSummary",
40+
"GenerateReadme",
41+
"GitHubActions",
42+
"JetBrainsCleanupCode",
43+
"Lint",
44+
"LintGitAdd",
45+
"LintPublicApiAnalyzers",
46+
"LintStaged",
47+
"MoveUnshippedToShipped",
48+
"Pack",
49+
"PostLint",
50+
"RegenerateBuildConfigurations",
51+
"Restore",
52+
"ShipPublicApis",
53+
"Test",
54+
"TriggerCodeCoverageReports",
55+
"Workloads"
56+
]
57+
},
58+
"Verbosity": {
59+
"type": "string",
60+
"description": "",
61+
"enum": [
62+
"Verbose",
63+
"Normal",
64+
"Minimal",
65+
"Quiet"
66+
]
67+
},
68+
"NukeBuild": {
869
"properties": {
9-
"Artifacts": {
10-
"type": "string",
11-
"description": "The directory where artifacts are to be dropped"
12-
},
13-
"Configuration": {
14-
"type": "string",
15-
"description": "Configuration to build",
16-
"enum": [
17-
"Debug",
18-
"Release"
19-
]
20-
},
2170
"Continue": {
2271
"type": "boolean",
2372
"description": "Indicates to continue a previously failed build attempt"
2473
},
25-
"Coverage": {
26-
"type": "string",
27-
"description": "The directory where coverage artifacts are to be dropped"
28-
},
2974
"Help": {
3075
"type": "boolean",
3176
"description": "Shows the help text for this build assembly"
3277
},
3378
"Host": {
34-
"type": "string",
3579
"description": "Host for execution. Default is 'automatic'",
36-
"enum": [
37-
"AppVeyor",
38-
"AzurePipelines",
39-
"Bamboo",
40-
"Bitbucket",
41-
"Bitrise",
42-
"GitHubActions",
43-
"GitLab",
44-
"Jenkins",
45-
"Rider",
46-
"SpaceAutomation",
47-
"TeamCity",
48-
"Terminal",
49-
"TravisCI",
50-
"VisualStudio",
51-
"VSCode"
52-
]
53-
},
54-
"lint-files": {
55-
"type": "array",
56-
"description": "The files to lint, if not given lints all files",
57-
"items": {
58-
"type": "string"
59-
}
80+
"$ref": "#/definitions/Host"
6081
},
6182
"NoLogo": {
6283
"type": "boolean",
@@ -85,93 +106,57 @@
85106
"type": "array",
86107
"description": "List of targets to be skipped. Empty list skips all dependencies",
87108
"items": {
88-
"type": "string",
89-
"enum": [
90-
"Build",
91-
"Clean",
92-
"CoreBuild",
93-
"CorePack",
94-
"CoreRestore",
95-
"CoreTest",
96-
"Default",
97-
"DotNetFormat",
98-
"DotnetToolRestore",
99-
"GenerateCodeCoverageBadges",
100-
"GenerateCodeCoverageReport",
101-
"GenerateCodeCoverageReportCobertura",
102-
"GenerateCodeCoverageSummary",
103-
"GenerateReadme",
104-
"GitHubActions",
105-
"JetBrainsCleanupCode",
106-
"Lint",
107-
"LintGitAdd",
108-
"LintPublicApiAnalyzers",
109-
"LintStaged",
110-
"MoveUnshippedToShipped",
111-
"Pack",
112-
"PostLint",
113-
"RegenerateBuildConfigurations",
114-
"Restore",
115-
"ShipPublicApis",
116-
"Test",
117-
"TriggerCodeCoverageReports",
118-
"Workloads"
119-
]
109+
"$ref": "#/definitions/ExecutableTarget"
120110
}
121111
},
122-
"Solution": {
123-
"type": "string",
124-
"description": "Path to a solution file that is automatically loaded"
125-
},
126112
"Target": {
127113
"type": "array",
128114
"description": "List of targets to be invoked. Default is '{default_target}'",
129115
"items": {
130-
"type": "string",
131-
"enum": [
132-
"Build",
133-
"Clean",
134-
"CoreBuild",
135-
"CorePack",
136-
"CoreRestore",
137-
"CoreTest",
138-
"Default",
139-
"DotNetFormat",
140-
"DotnetToolRestore",
141-
"GenerateCodeCoverageBadges",
142-
"GenerateCodeCoverageReport",
143-
"GenerateCodeCoverageReportCobertura",
144-
"GenerateCodeCoverageSummary",
145-
"GenerateReadme",
146-
"GitHubActions",
147-
"JetBrainsCleanupCode",
148-
"Lint",
149-
"LintGitAdd",
150-
"LintPublicApiAnalyzers",
151-
"LintStaged",
152-
"MoveUnshippedToShipped",
153-
"Pack",
154-
"PostLint",
155-
"RegenerateBuildConfigurations",
156-
"Restore",
157-
"ShipPublicApis",
158-
"Test",
159-
"TriggerCodeCoverageReports",
160-
"Workloads"
161-
]
116+
"$ref": "#/definitions/ExecutableTarget"
162117
}
163118
},
164119
"Verbosity": {
165-
"type": "string",
166120
"description": "Logging verbosity during build execution. Default is 'Normal'",
121+
"$ref": "#/definitions/Verbosity"
122+
}
123+
}
124+
}
125+
},
126+
"allOf": [
127+
{
128+
"properties": {
129+
"Artifacts": {
130+
"type": "string",
131+
"description": "The directory where artifacts are to be dropped"
132+
},
133+
"Configuration": {
134+
"type": "string",
135+
"description": "Configuration to build",
167136
"enum": [
168-
"Minimal",
169-
"Normal",
170-
"Quiet",
171-
"Verbose"
137+
"Debug",
138+
"Release"
172139
]
140+
},
141+
"Coverage": {
142+
"type": "string",
143+
"description": "The directory where coverage artifacts are to be dropped"
144+
},
145+
"lint-files": {
146+
"type": "array",
147+
"description": "The files to lint, if not given lints all files",
148+
"items": {
149+
"type": "string"
150+
}
151+
},
152+
"Solution": {
153+
"type": "string",
154+
"description": "Path to a solution file that is automatically loaded"
173155
}
174156
}
157+
},
158+
{
159+
"$ref": "#/definitions/NukeBuild"
175160
}
176-
}
161+
]
177162
}

Airframe.sln

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Microsoft Visual Studio Solution File, Format Version 12.00
1+
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio Version 16
33
VisualStudioVersion = 16.0.29102.190
44
MinimumVisualStudioVersion = 10.0.40219.1
@@ -114,6 +114,29 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeFixes", "src\CodeFixes\
114114
EndProject
115115
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeFixes.Tests", "test\CodeFixes.Tests\CodeFixes.Tests.csproj", "{BED8F7FF-DA71-491B-99D6-1C4CCC167C36}"
116116
EndProject
117+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{B6251A84-8491-4F0D-ACD6-9F4A8CDA3A6C}"
118+
ProjectSection(SolutionItems) = preProject
119+
.github/labels.yml = .github/labels.yml
120+
.github/release.yml = .github/release.yml
121+
EndProjectSection
122+
EndProject
123+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{515BEE9D-CE2C-48B1-917B-9483536072C6}"
124+
ProjectSection(SolutionItems) = preProject
125+
.github/workflows/draft-release.yml = .github/workflows/draft-release.yml
126+
.github/workflows/publish-nuget.yml = .github/workflows/publish-nuget.yml
127+
.github/workflows/dependabot-merge.yml = .github/workflows/dependabot-merge.yml
128+
.github/workflows/sync-labels.yml = .github/workflows/sync-labels.yml
129+
.github/workflows/close-milestone.yml = .github/workflows/close-milestone.yml
130+
.github/workflows/update-milestone.yml = .github/workflows/update-milestone.yml
131+
.github/workflows/auto-label.yml = .github/workflows/auto-label.yml
132+
.github/workflows/ci.yml = .github/workflows/ci.yml
133+
EndProjectSection
134+
EndProject
135+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".husky", ".husky", "{2A09728A-7801-4266-AE44-08F5DC584811}"
136+
ProjectSection(SolutionItems) = preProject
137+
.husky/commit-msg = .husky/commit-msg
138+
EndProjectSection
139+
EndProject
117140
Global
118141
GlobalSection(SolutionConfigurationPlatforms) = preSolution
119142
Debug|Any CPU = Debug|Any CPU
@@ -220,6 +243,7 @@ Global
220243
EndGlobalSection
221244
GlobalSection(NestedProjects) = preSolution
222245
{CA4B6910-402D-40C3-99C6-8DF8E3ABF041} = {BC256BE7-7896-4159-BB31-9F3D22860391}
246+
{8322904C-5A48-4A92-A5EA-2AF91F8C4595} = {B1AA48D9-E0D5-4804-B025-B6D53008E37E}
223247
{36A9DAA0-FCD4-41A3-A046-C755937CA701} = {BC256BE7-7896-4159-BB31-9F3D22860391}
224248
{D8A98936-BA4C-44A9-BD39-34DCBEF665C9} = {843C3844-BA79-40AE-B102-F5AFA0F4AD77}
225249
{D42E447B-522C-48E6-82A9-B24780BC7A35} = {BC256BE7-7896-4159-BB31-9F3D22860391}
@@ -246,6 +270,9 @@ Global
246270
{63074E63-854B-4A05-8F26-7E590BBCC194} = {843C3844-BA79-40AE-B102-F5AFA0F4AD77}
247271
{F1C2F6AF-C0D7-48A9-B477-B5F28618EEC6} = {BC256BE7-7896-4159-BB31-9F3D22860391}
248272
{BED8F7FF-DA71-491B-99D6-1C4CCC167C36} = {843C3844-BA79-40AE-B102-F5AFA0F4AD77}
273+
{B6251A84-8491-4F0D-ACD6-9F4A8CDA3A6C} = {B1AA48D9-E0D5-4804-B025-B6D53008E37E}
274+
{515BEE9D-CE2C-48B1-917B-9483536072C6} = {B6251A84-8491-4F0D-ACD6-9F4A8CDA3A6C}
275+
{2A09728A-7801-4266-AE44-08F5DC584811} = {B1AA48D9-E0D5-4804-B025-B6D53008E37E}
249276
EndGlobalSection
250277
GlobalSection(ExtensibilityGlobals) = postSolution
251278
SolutionGuid = {8F0DF64A-C8D5-41DF-B4C9-5C70526644DF}

0 commit comments

Comments
 (0)