Skip to content

Update Tests.yml

Update Tests.yml #15

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Swift 6.0
run: |
curl -s https://swift.org/builds/swift-6.0-release/xcode/swift-6.0-RELEASE/swift-6.0-RELEASE-osx.pkg > swift.pkg
sudo installer -pkg swift.pkg -target /
swift --version
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v