-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from cashapp/bradfol/swift6
Improve Swift 6 toolchain support
- Loading branch information
Showing
10 changed files
with
42 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,32 @@ on: | |
branches: [ "main" ] | ||
|
||
jobs: | ||
build-knit: | ||
build-knit-swift-5: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4.1.7 | ||
- uses: actions/checkout@v4.2.2 | ||
- uses: swift-actions/[email protected] | ||
with: | ||
swift-version: "5.10" | ||
- name: Build Knit | ||
run: swift build -v | ||
- name: Run Knit tests | ||
run: swift test -v | ||
|
||
# Enable below when issue is resolved: https://github.com/swift-actions/setup-swift/issues/683 | ||
|
||
# build-knit-swift-6: | ||
# | ||
# runs-on: macos-latest | ||
# | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: swift-actions/[email protected] | ||
# with: | ||
# swift-version: "6.0" | ||
# - name: Build Knit | ||
# run: swift build -v | ||
# - name: Run Knit tests | ||
# run: swift test -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
// | ||
|
||
import Foundation | ||
import SwiftSyntax | ||
@preconcurrency import SwiftSyntax | ||
|
||
struct CalledMethod { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters