Skip to content

fix: swift version

fix: swift version #5

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: .framework Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: SwiftFormat
run: swiftformat . --lint --swiftversion 5
- name: SwiftLint
run: swiftlint lint --strict
- name: Build and Test
run: |
xcodebuild \
-project UnidiceSD \
-scheme GlucoseDirect \
-sdk iphonesimulator \
test || exit 1