From 7096568aac985d42333ed0984678c0e156f57d58 Mon Sep 17 00:00:00 2001 From: Kawahara Shotaro <121674121+k-taro56@users.noreply.github.com> Date: Mon, 18 Mar 2024 00:18:13 +0900 Subject: [PATCH] =?UTF-8?q?[Tools]=20Swift=205.10=E3=81=AECI=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E3=81=99=E3=82=8B=20(#69)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Tools] Swift 5.10のCIを追加する Fixes #66 * Update setup-swift action to v2 * Update swift.yml --------- Co-authored-by: Miwa / Ensan <63481257+ensan-hcl@users.noreply.github.com> --- .github/workflows/swift.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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