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