Skip to content

Commit

Permalink
Update CI to macOS 12 (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfairh committed May 17, 2022
1 parent 1bea705 commit 0700039
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Tests.yml
Expand Up @@ -25,13 +25,13 @@ jobs:
bundle exec danger --verbose
spec:
runs-on: macos-11
runs-on: macos-12
continue-on-error: true
strategy:
matrix:
spec: ["objc_spec", "swift_spec", "cocoapods_spec"]
env:
DEVELOPER_DIR: /Applications/Xcode_13.2.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.3.app/Contents/Developer
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -49,7 +49,7 @@ git push
You'll need push access to the integration specs repo to do this. You can
request access from one of the maintainers when filing your PR.

You must have Xcode 13.2 installed to build the integration specs.
You must have Xcode 13.3 installed to build the integration specs.

## Making changes to SourceKitten

Expand Down
4 changes: 3 additions & 1 deletion spec/integration_spec.rb
Expand Up @@ -108,8 +108,10 @@ def configure_cocoapods
s.replace_path ROOT.to_s, 'ROOT'
s.replace_pattern /^[\d\s:.-]+ ruby\[\d+:\d+\] warning:.*$\n?/, ''
# Remove version numbers from CocoaPods dependencies
# to make specs resilient against dependecy updates.
# to make specs resilient against dependency updates.
s.replace_pattern(/(Installing \w+ )\((.*)\)/, '\1(X.Y.Z)')
# Xcode 13.3 workaround
s.replace_pattern(/202.*?IDEWatchSupportCore\n/, '')
end

require 'shellwords'
Expand Down
2 changes: 1 addition & 1 deletion spec/integration_specs
Submodule integration_specs updated 152 files

0 comments on commit 0700039

Please sign in to comment.