Skip to content

Commit 2c38148

Browse files
committed
ci: Swift 6 language mode 빌드 게이트 추가
swift build -Xswiftc -swift-version -Xswiftc 6 를 실행하는 CI 잡을 추가해 Swift 6 언어 모드 에러 발생 시 실패하도록 한다.
1 parent 5685efb commit 2c38148

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,16 @@ jobs:
3939
uses: actions/checkout@v4
4040

4141
- name: Run Swift Macro Compatibility Check
42-
uses: Matejkob/swift-macro-compatibility-check@v1
42+
uses: Matejkob/swift-macro-compatibility-check@v1
43+
44+
swift6-mode:
45+
name: Swift 6 Language Mode
46+
runs-on: macos-15
47+
steps:
48+
- uses: actions/checkout@v4
49+
50+
- name: Select Xcode 16.4
51+
run: sudo xcode-select -s /Applications/Xcode_16.4.app
52+
53+
- name: Build in Swift 6 language mode
54+
run: swift build -Xswiftc -swift-version -Xswiftc 6

0 commit comments

Comments
 (0)