Skip to content

Commit 8b4db3c

Browse files
authored
Merge pull request #467 from allevato/pin-deps
Pin dependencies other than swift-syntax to more specific versions.
2 parents a1ebffe + 3861999 commit 8b4db3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,17 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
215215
package.dependencies += [
216216
.package(
217217
url: "https://github.com/apple/swift-argument-parser.git",
218-
branch: "main"
218+
// This should be kept in sync with the same dependency used by
219+
// swift-syntax.
220+
Version("1.0.1")..<Version("1.2.0")
219221
),
220222
.package(
221223
url: "https://github.com/apple/swift-syntax.git",
222224
branch: "main"
223225
),
224226
.package(
225227
url: "https://github.com/apple/swift-tools-support-core.git",
226-
branch: "main"
228+
exact: Version("0.4.0")
227229
),
228230
]
229231
} else {

0 commit comments

Comments
 (0)