Skip to content

Commit

Permalink
Update swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterJ93 authored Mar 23, 2024
1 parent eb6a791 commit 6e35b84
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,21 @@ name: Swift
on:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build

- name: Install Swift 5.9.0
run: |
sudo xcode-select -s /Applications/Xcode_15.0.app
swift build -v
# - name: Run tests
# run: swift test -v
curl -O https://download.swift.org/swift-5.10-release/xcode/swift-5.10-RELEASE/swift-5.10-RELEASE-osx.pkg
sudo installer -pkg swift-5.10-RELEASE-osx.pkg -target /
- name: Build
run: swift build -v

- name: Run tests
run: swift test -v

0 comments on commit 6e35b84

Please sign in to comment.