Skip to content

Commit 18c78f2

Browse files
committed
renovate: renovate: lets see if this works
1 parent 83271e8 commit 18c78f2

File tree

3 files changed

+110
-131
lines changed

3 files changed

+110
-131
lines changed

.build/AirframeBuild.GitHubActions.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,12 @@ public partial class AirframeBuild
3838
{
3939
public Target GitHubActions => definition => definition
4040
.OnlyWhenStatic(IsRunningOnGitHubActions)
41-
.DependsOn(Workloads)
4241
.DependsOn(Restore)
4342
.DependsOn(Build)
4443
.DependsOn(Test)
4544
.DependsOn(Pack)
4645
.Executes();
4746

48-
public Target Workloads => definition => definition
49-
.Before(Restore)
50-
.Executes(() => DotNetTasks.DotNetWorkloadInstall(configurator => configurator.AddWorkloadId("ios")));
51-
5247
public static RocketSurgeonGitHubActionsConfiguration Middleware(RocketSurgeonGitHubActionsConfiguration configuration)
5348
{
5449
var buildJob = configuration.Jobs.Cast<RocketSurgeonsGithubActionsJob>().First(z => z.Name.Equals("build", StringComparison.OrdinalIgnoreCase));

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,18 @@ 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
6364
run: |
64-
dotnet tool restore
65-
- name: Workloads
66-
id: workloads
65+
dotnet workload restore
66+
- name: ⚒️ dotnet tool restore
6767
run: |
68-
dotnet nuke Workloads --skip
68+
dotnet tool restore
6969
- name: 🎁 Restore
7070
id: restore
7171
run: |
7272
dotnet nuke Restore --skip
73-
- name: ⚙ Build
73+
- name: Build
7474
id: build
7575
run: |
7676
dotnet nuke Build --skip
@@ -86,7 +86,7 @@ jobs:
8686
id: gitHubActions
8787
run: |
8888
dotnet nuke GitHubActions --skip
89-
- name: 🐿 Publish Coverage
89+
- name: 📫 Publish Coverage
9090
uses: codecov/[email protected]
9191
with:
9292
name: 'actions-${{ matrix.os }}'

.nuke/build.schema.json

Lines changed: 103 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,82 @@
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+
]
56+
},
57+
"Verbosity": {
58+
"type": "string",
59+
"description": "",
60+
"enum": [
61+
"Verbose",
62+
"Normal",
63+
"Minimal",
64+
"Quiet"
65+
]
66+
},
67+
"NukeBuild": {
868
"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-
},
2169
"Continue": {
2270
"type": "boolean",
2371
"description": "Indicates to continue a previously failed build attempt"
2472
},
25-
"Coverage": {
26-
"type": "string",
27-
"description": "The directory where coverage artifacts are to be dropped"
28-
},
2973
"Help": {
3074
"type": "boolean",
3175
"description": "Shows the help text for this build assembly"
3276
},
3377
"Host": {
34-
"type": "string",
3578
"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-
}
79+
"$ref": "#/definitions/Host"
6080
},
6181
"NoLogo": {
6282
"type": "boolean",
@@ -85,93 +105,57 @@
85105
"type": "array",
86106
"description": "List of targets to be skipped. Empty list skips all dependencies",
87107
"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-
]
108+
"$ref": "#/definitions/ExecutableTarget"
120109
}
121110
},
122-
"Solution": {
123-
"type": "string",
124-
"description": "Path to a solution file that is automatically loaded"
125-
},
126111
"Target": {
127112
"type": "array",
128113
"description": "List of targets to be invoked. Default is '{default_target}'",
129114
"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-
]
115+
"$ref": "#/definitions/ExecutableTarget"
162116
}
163117
},
164118
"Verbosity": {
165-
"type": "string",
166119
"description": "Logging verbosity during build execution. Default is 'Normal'",
120+
"$ref": "#/definitions/Verbosity"
121+
}
122+
}
123+
}
124+
},
125+
"allOf": [
126+
{
127+
"properties": {
128+
"Artifacts": {
129+
"type": "string",
130+
"description": "The directory where artifacts are to be dropped"
131+
},
132+
"Configuration": {
133+
"type": "string",
134+
"description": "Configuration to build",
167135
"enum": [
168-
"Minimal",
169-
"Normal",
170-
"Quiet",
171-
"Verbose"
136+
"Debug",
137+
"Release"
172138
]
139+
},
140+
"Coverage": {
141+
"type": "string",
142+
"description": "The directory where coverage artifacts are to be dropped"
143+
},
144+
"lint-files": {
145+
"type": "array",
146+
"description": "The files to lint, if not given lints all files",
147+
"items": {
148+
"type": "string"
149+
}
150+
},
151+
"Solution": {
152+
"type": "string",
153+
"description": "Path to a solution file that is automatically loaded"
173154
}
174155
}
156+
},
157+
{
158+
"$ref": "#/definitions/NukeBuild"
175159
}
176-
}
160+
]
177161
}

0 commit comments

Comments
 (0)