Upgrade to Swift 6.2: Update tools version, CI matrix, and fix unsafe… #182
This file contains hidden or 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: ci | |
| on: | |
| - push | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: norio-nomura/action-swiftlint@3.2.1 | |
| with: | |
| args: --strict | |
| macOS-test: | |
| strategy: | |
| matrix: | |
| swift-version: | |
| - "6.1" | |
| - "6.2" | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: swift-actions/setup-swift@v3 | |
| with: | |
| swift-version: ${{ matrix.swift-version }} | |
| - run: swift test | |
| iOS-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: xcodebuild -scheme NdArray -destination 'platform=iOS Simulator,name=iPhone 16' | |
| tvOS-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: xcodebuild -scheme NdArray -destination 'platform=tvOS Simulator,name=Apple TV' | |
| whatchOS-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: xcodebuild -scheme NdArray -destination 'platform=watchOS Simulator,name=Apple Watch Series 11 (46mm)' |