Skip to content

Commit

Permalink
Update Swift workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-cfuller committed Feb 28, 2024
1 parent 74a003f commit bef545f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:
branches: [ main ]

env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer

jobs:
build_and_test:
runs-on: macos-11
swift:
name: Swift
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Checkout source
uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift build -v -Xswiftc -warnings-as-errors
- name: Test
run: swift test -v

0 comments on commit bef545f

Please sign in to comment.