Skip to content

Fix broken tests, fix CI for Swift 5.10 #76

Fix broken tests, fix CI for Swift 5.10

Fix broken tests, fix CI for Swift 5.10 #76

# 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: Build&test macOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macOS-13 # used to be macos-latest
# look https://github.com/actions/runner-images/issues/6384 for info
# why it was changed from macos-latest to macOS-12
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "5.10"
- name: Get Swift version
run: swift --version
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v