Skip to content

Commit

Permalink
Update swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-shevchenko authored Mar 12, 2024
1 parent 02ca9c0 commit 21cfa55
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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
name: .framework Build

on:
push:
Expand All @@ -15,8 +15,16 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- name: Checkout repository
uses: actions/checkout@v2
- name: SwiftFormat
run: swiftformat . --lint
- name: SwiftLint
run: swiftlint lint --strict
- name: Build and Test
run: |
xcodebuild \
-project UnidiceSD \
-scheme GlucoseDirect \
-sdk iphonesimulator \
test || exit 1

0 comments on commit 21cfa55

Please sign in to comment.