Skip to content

Commit f69d3b1

Browse files
committed
Fix the yml files to pass the linter
1 parent 4bef42a commit f69d3b1

File tree

5 files changed

+98
-89
lines changed

5 files changed

+98
-89
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,54 @@ name: Bug Report
22
description: Something isn't working as expected
33
labels: [bug]
44
body:
5-
- type: checkboxes
6-
id: cat-preferences
7-
attributes:
8-
label: "Is it reproducible with SwiftPM command-line tools: `swift build`, `swift test`, `swift package` etc?"
9-
description: "Issues related to closed-source software are not tracked by this repository and will be closed. For Xcode and `xcodebuild`, please file a feedback at https://feedbackassistant.apple.com instead."
10-
options:
11-
- label: Confirmed reproduction steps with SwiftPM CLI. The description text _must_ include reproduction steps with either of command-line SwiftPM commands, `swift build`, `swift test`, `swift package` etc.
12-
required: true
13-
- type: textarea
14-
attributes:
15-
label: Description
16-
validations:
17-
required: true
18-
- type: textarea
19-
attributes:
20-
label: Expected behavior
21-
description: What you expected to happen.
22-
validations:
23-
required: false
24-
- type: textarea
25-
attributes:
26-
label: Actual behavior
27-
description: What actually happened.
28-
validations:
29-
required: false
30-
- type: textarea
31-
attributes:
32-
label: Steps to reproduce
33-
placeholder: |
34-
1. ...
35-
2. ...
36-
validations:
37-
required: false
38-
- type: input
39-
attributes:
40-
label: Swift Package Manager version/commit hash
41-
validations:
42-
required: false
43-
- type: textarea
44-
attributes:
45-
label: Swift & OS version (output of `swift --version ; uname -a`)
46-
validations:
47-
required: false
5+
- type: checkboxes
6+
id: cat-preferences
7+
attributes:
8+
label: >-
9+
Is it reproducible with SwiftPM command-line tools: `swift build`,
10+
`swift test`, `swift package` etc?
11+
description: >-
12+
Issues related to closed-source software are not tracked by this
13+
repository and will be closed. For Xcode and `xcodebuild`, please
14+
file a feedback at https://feedbackassistant.apple.com instead."
15+
options:
16+
- label: >-
17+
Confirmed reproduction steps with SwiftPM CLI. The description
18+
text _must_ include reproduction steps with either of command-line
19+
SwiftPM commands, `swift build`, `swift test`, `swift package` etc.
20+
required: true
21+
- type: textarea
22+
attributes:
23+
label: Description
24+
validations:
25+
required: true
26+
- type: textarea
27+
attributes:
28+
label: Expected behavior
29+
description: What you expected to happen.
30+
validations:
31+
required: false
32+
- type: textarea
33+
attributes:
34+
label: Actual behavior
35+
description: What actually happened.
36+
validations:
37+
required: false
38+
- type: textarea
39+
attributes:
40+
label: Steps to reproduce
41+
placeholder: |
42+
1. ...
43+
2. ...
44+
validations:
45+
required: false
46+
- type: input
47+
attributes:
48+
label: Swift Package Manager version/commit hash
49+
validations:
50+
required: false
51+
- type: textarea
52+
attributes:
53+
label: Swift & OS version (output of `swift --version ; uname -a`)
54+
validations:
55+
required: false

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@ name: Feature Request
22
description: A suggestion for a new feature
33
labels: [enhancement]
44
body:
5-
- type: textarea
6-
attributes:
7-
label: Description
8-
validations:
9-
required: true
10-
- type: textarea
11-
attributes:
12-
label: Expected behavior
13-
description: What you expected to happen.
14-
validations:
15-
required: false
16-
- type: textarea
17-
attributes:
18-
label: Actual behavior
19-
description: What actually happened.
20-
validations:
21-
required: false
22-
- type: textarea
23-
attributes:
24-
label: Steps to reproduce
25-
placeholder: |
26-
1. ...
27-
2. ...
28-
validations:
29-
required: false
30-
- type: input
31-
attributes:
32-
label: Swift Package Manager version/commit hash
33-
validations:
34-
required: false
35-
- type: textarea
36-
attributes:
37-
label: Swift & OS version (output of `swift --version && uname -a`)
38-
validations:
39-
required: false
5+
- type: textarea
6+
attributes:
7+
label: Description
8+
validations:
9+
required: true
10+
- type: textarea
11+
attributes:
12+
label: Expected behavior
13+
description: What you expected to happen.
14+
validations:
15+
required: false
16+
- type: textarea
17+
attributes:
18+
label: Actual behavior
19+
description: What actually happened.
20+
validations:
21+
required: false
22+
- type: textarea
23+
attributes:
24+
label: Steps to reproduce
25+
placeholder: |
26+
1. ...
27+
2. ...
28+
validations:
29+
required: false
30+
- type: input
31+
attributes:
32+
label: Swift Package Manager version/commit hash
33+
validations:
34+
required: false
35+
- type: textarea
36+
attributes:
37+
label: Swift & OS version (output of `swift --version && uname -a`)
38+
validations:
39+
required: false

.github/workflows/pull_request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
2020
linux_swift_versions: '["nightly-main"]'
21+
linux_pre_build_command: 'curl -L https://raw.githubusercontent.com/swiftlang/swift-build/refs/heads/main/.github/scripts/prebuild.sh > prebuild.sh && sh prebuild.sh'
2122
windows_swift_versions: '["nightly-main"]'
2223
enable_android_sdk_build: true
2324
android_sdk_build_command: "swift build --build-tests"
@@ -30,4 +31,4 @@ jobs:
3031
name: Soundness
3132
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
3233
with:
33-
license_header_check_project_name: "Swift.org"
34+
license_header_check_project_name: "Swift"

Documentation/PackageRegistry/registry.openapi.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,12 @@ paths:
225225
schema:
226226
type: string
227227
description: |-
228-
One value for each version-specific package manifest file in the release's source archive,
228+
One value for each version-specific package manifest file in the release's source archive,
229229
whose filename matches the following regular expression pattern:
230230
`\APackage@swift-(\d+)(?:\.(\d+))?(?:\.(\d+))?.swift\z`
231231
232-
Each link value should have the alternate relation type, a filename attribute set to the version-specific package manifest filename
233-
(for example, [email protected]), and a swift-tools-version attribute set to the Swift tools version specified by the package
232+
Each link value should have the alternate relation type, a filename attribute set to the version-specific package manifest filename
233+
(for example, [email protected]), and a swift-tools-version attribute set to the Swift tools version specified by the package
234234
manifest file (for example, 4.0 for a manifest beginning with the comment // swift-tools-version:4.0).
235235
content:
236236
text/x-swift:
@@ -277,8 +277,8 @@ paths:
277277
type: string
278278
example: 'sha-256=oqxUzyX7wa0AKPA/CqS5aDO4O7BaFOUQiSuyfepNyBI='
279279
Content-Disposition:
280-
description: |-
281-
A header set to attachment with a filename parameter equal to the name of the package followed by a hyphen (-),
280+
description: |-
281+
A header set to attachment with a filename parameter equal to the name of the package followed by a hyphen (-),
282282
the version number, and file extension (for example, "LinkedList-1.1.1.zip")
283283
schema:
284284
type: string
@@ -455,7 +455,7 @@ components:
455455
PackageLinks:
456456
schema:
457457
type: string
458-
description: |-
458+
description: |-
459459
A set of related links.
460460
461461
An example:
@@ -583,13 +583,13 @@ components:
583583
format: uri
584584
description: |-
585585
A URI reference that identifies the problem type.
586-
This specification encourages that, when dereferenced,
586+
This specification encourages that, when dereferenced,
587587
it provides human-readable documentation for the problem type.
588588
example: 'https://example.com/problem/invalid-request-parameters'
589589
title:
590590
type: string
591591
description: |-
592-
A short, human-readable summary of the problem type.
592+
A short, human-readable summary of the problem type.
593593
It should not change from occurrence to occurrence of the
594594
problem, except for purposes of localization.
595595
example: 'Invalid request parameters'
@@ -682,7 +682,7 @@ components:
682682
type: string
683683
format: date-time
684684
description: |-
685-
The ISO 8601-formatted datetime string of when the package release was published, as recorded by the registry.
685+
The ISO 8601-formatted datetime string of when the package release was published, as recorded by the registry.
686686
See related `originalPublicationTime` in metadata.
687687
required:
688688
- id

Utilities/Docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
- ~/.ssh:/root/.ssh
2828
- ~/.cache:/root/.cache
2929
- ~/.swiftpm/cache:/root/.swiftpm/cache
30-
- ~/.swiftpm/configuration:/root/.swiftpm/config # old location, remove after 5.6
30+
- ~/.swiftpm/configuration:/root/.swiftpm/config # old location, remove after 5.6
3131
- ~/.swiftpm/configuration:/root/.swiftpm/configuration
3232
- ~/.swiftpm/security:/root/.swiftpm/security
3333
# swift-package-manager code

0 commit comments

Comments
 (0)