-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIのSwiftバージョンを5.9.2に引き上げる #453
CIのSwiftバージョンを5.9.2に引き上げる #453
Conversation
@@ -8,22 +8,22 @@ on: | |||
|
|||
jobs: | |||
swift-test-macos: | |||
name: Build and test on macOS with Swift ${{ matrix.swift_version }} | |||
name: Build and test on ${{ matrix.os }} with Swift ${{ matrix.swift }}, Xcode ${{ matrix.xcode }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
将来の環境のバリエーションの追加に備え、macOS, Xcodeのバージョンもタイトルに埋めます。
timeout-minutes: 40 | ||
runs-on: macos-13 | ||
runs-on: ${{ matrix.os }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
将来に備え、変数にします。
xcode: /Applications/Xcode_15.0.app/Contents/Developer | ||
- os: macos-13 | ||
xcode: "15.2" | ||
swift: "5.9.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version suffixはない形で3つの定義をそろえます。
ちなみに、Xcode15.2はmacOS 13ランナーの最終環境です。
https://github.com/actions/runner-images/blob/e2a8bbc6e1ff3ea021f736e2a8589f27e681aa15/images/macos/macos-13-Readme.md
dir: "swift-5.9-release/ubuntu2204" | ||
version: "swift-5.9-RELEASE" | ||
dir: "swift-5.9.2-release/ubuntu2204" | ||
version: "swift-5.9.2-RELEASE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この変更がPRの主目的です。
@kateinoigakukun よろしくお願いします。 |
5.9.2 に引き上げる
現在CartonはSwift 5.9.2 をサポート下限としています。
しかし、CIは5.9 (.0) を使っているため、下記の警告が出ています。
サポートしていない環境をテストする意味はないので、
テスト環境を5.9.2 に引き上げます。