Swift 6 concurrency + Testing modernization; LRU cache; warnings cleanup #2
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: Swift CI (Swift 6) | |
| on: | |
| push: | |
| branches: [ master, feat/swift-6-concurrency ] | |
| pull_request: | |
| branches: [ master, feat/swift-6-concurrency ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: ${{ matrix.os }} / Swift ${{ matrix.swift }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, ubuntu-latest] | |
| swift: ['6.0.3'] | |
| # Note: Windows is not supported due to lack of Synchronization module support | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Swift | |
| uses: SwiftyLab/setup-swift@latest | |
| with: | |
| swift-version: ${{ matrix.swift }} | |
| - name: Swift Version | |
| run: swift --version | |
| - name: Build | |
| run: swift build -v | |
| - name: Run tests | |
| run: swift test -v |