Merge pull request #219 from cashapp/skorulis/getter-error #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |