Skip to content

Update swift.yml

Update swift.yml #8

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" ]
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 --quiet
- name: Build and Test
run: |
xcodebuild \
-project GlucoseDirect \
-scheme GlucoseDirect \
-sdk iphonesimulator \
test || exit 1