Skip to content

Commit

Permalink
Merge pull request #205 from uhooi/feature/bump_swift_syntax
Browse files Browse the repository at this point in the history
Bump swift-syntax for Swift 5.7
  • Loading branch information
uhooi authored Oct 28, 2022
2 parents 421fade + e2f2eda commit 6deb374
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
xcode:
- { os: macos-11, version: "12.5.1" }
- { os: macos-11, version: "13.0" }
- { os: macos-12, version: "13.3.1" }
- { os: macos-12, version: "13.4.1" }
- { os: macos-12, version: "14.0" }
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

env:
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app
DEVELOPER_DIR: /Applications/Xcode_14.0.app

jobs:
build-release:
Expand Down
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ dependencies.append(.package(url: "https://github.com/apple/swift-argument-parse
dependencies.append(.package(url: "https://github.com/apple/swift-argument-parser", "1.0.1"..."1.0.3"))
#endif

#if swift(>=5.6)
#if swift(>=5.7)
dependencies.append(.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50700.1")))
mockoloFrameworkTargetDependencies.append(.product(name: "SwiftSyntaxParser", package: "SwiftSyntax"))
#elseif swift(>=5.6)
dependencies.append(.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50600.1")))
mockoloFrameworkTargetDependencies.append(.product(name: "SwiftSyntaxParser", package: "SwiftSyntax"))
#elseif swift(>=5.5)
Expand Down

0 comments on commit 6deb374

Please sign in to comment.