Update swift-actions/setup-swift to v3 #178
Workflow file for this run
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@v4 | |
| - uses: norio-nomura/action-swiftlint@3.2.1 | |
| with: | |
| args: --strict | |
| macOS-test: | |
| strategy: | |
| matrix: | |
| swift-version: | |
| - "6.0" | |
| - "6.1" | |
| - "6.2" | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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@v4 | |
| - run: xcodebuild -scheme NdArray -destination 'platform=iOS Simulator,name=iPhone 13' | |
| tvOS-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: xcodebuild -scheme NdArray -destination 'platform=tvOS Simulator,name=Apple TV' | |
| whatchOS-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: xcodebuild -scheme NdArray -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' |