From a880f87c4cc7450de61377a97b81ad7f5c6b02af Mon Sep 17 00:00:00 2001 From: Sahand Raeisi Date: Sat, 7 Dec 2024 11:43:47 +0330 Subject: [PATCH] Update jobs for .yml --- .github/workflows/swift.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 21ae770..c5391fd 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -11,12 +11,15 @@ on: jobs: build: - - runs-on: macos-latest - + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Build - run: swift build -v - - name: Run tests - run: swift test -v + - name: Checkout + uses: actions/checkout@v3 + - name: Set up Swift + uses: swift-actions/setup-swift@v1 + with: + swift-version: '6.0' + - name: Build and Test + run: | + swift build + swift test