Skip to content

Create OptionalAbstractRegistration type #612

Create OptionalAbstractRegistration type

Create OptionalAbstractRegistration type #612

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-knit-swift-5:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: swift-actions/setup-swift@v2.1.0
with:
swift-version: "5.10"
- name: Build Knit
run: swift build -v
- name: Run Knit tests
run: swift test -v
# Enable below when issue is resolved: https://github.com/swift-actions/setup-swift/issues/683
# build-knit-swift-6:
#
# runs-on: macos-latest
#
# steps:
# - uses: actions/checkout@v4.2.2
# - uses: swift-actions/setup-swift@v2.1.0
# with:
# swift-version: "6.0"
# - name: Build Knit
# run: swift build -v
# - name: Run Knit tests
# run: swift test -v