Skip to content

Commit

Permalink
Update jobs for .yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shndrs authored Dec 7, 2024
1 parent 9ee6ffc commit a880f87
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a880f87

Please sign in to comment.