Skip to content

Commit

Permalink
Update swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shndrs authored Dec 7, 2024
1 parent 4688215 commit c8ae449
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
- name: Checkout source code
uses: actions/checkout@v3
- name: Set up Swift

- name: Set up Swift 6.0.0
uses: swift-actions/setup-swift@v1
with:
swift-version: '5.7'
- name: Build and Test
run: |
swift build
swift test
swift-version: '6.0.0' # Specify the required Swift version

- name: Verify Swift version
run: swift --version

- name: Build project
run: swift build

- name: Run tests
run: swift test

0 comments on commit c8ae449

Please sign in to comment.