diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 00a6e67..b633710 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -10,19 +10,20 @@ on: jobs: build: - name: Swift on ${{ matrix.os }} + name: Swift ${{ matrix.swift-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] + swift-version: ["5.9", "5.10"] steps: - uses: swift-actions/setup-swift@v2 with: - swift-version: 5.9 + swift-version: ${{ matrix.swift-version }} - uses: actions/checkout@v4 with: submodules: true - name: Build run: swift build -Xswiftc -strict-concurrency=complete -v - name: Run tests - run: swift test -c release -Xswiftc -strict-concurrency=complete -v \ No newline at end of file + run: swift test -c release -Xswiftc -strict-concurrency=complete -v