From d33b9d501ebfc0bb17f59c6145532fb4fb36db7b Mon Sep 17 00:00:00 2001 From: 1024jp <1024jp@wolfrosch.com> Date: Mon, 24 Jun 2024 10:44:36 +0900 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16f1c8c..443c54b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,10 @@ jobs: macOS: name: Test on macOS runs-on: macOS-14 + env: + DEVELOPER_DIR: /Applications/Xcode_16.0.app steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Show environments run: | swift --version @@ -21,11 +23,11 @@ jobs: - name: Build & test SwiftPM run: | swift build - swift test 2>&1 | xcpretty -c + swift test --enable-swift-testing linux: runs-on: ubuntu-latest container: swift:latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Unit Test - run: swift test + run: swift test --enable-swift-testing