WIP: Cross-PR testing #75
Workflow file for this run
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
name: Pull request | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
tests: | |
name: Test | |
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main | |
with: | |
enable_windows_checks: false | |
linux_pre_build_command: | | |
git clone https://github.com/swiftlang/swift-syntax.git ../swift-syntax | |
git -C ../swift-syntax fetch origin pull/2859/merge:pr_merge | |
git -C ../swift-syntax checkout main | |
git -C ../swift-syntax reset --hard pr_merge | |
git -C ../swift-syntax show | |
git -C ../swift-syntax show main | |
swift package config set-mirror --package-url https://github.com/swiftlang/swift-syntax.git --mirror-url "$(realpath ../swift-syntax)" | |
# soundness: | |
# name: Soundness | |
# uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main | |
# with: | |
# license_header_check_enabled: false | |
# license_header_check_project_name: "Swift.org" |