Skip to content

Update swift.yml

Update swift.yml #4

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- nmae: xcodebuild
run:
- name: Build
run: swift build --package-path BibleCore --toolchain 5.8.0
- name: Run tests
run: swift test --package-path BibleCore --toolchain 5.8.0