Skip to content

Commit

Permalink
Add markdown lint to pr action as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Jul 11, 2024
1 parent 4d09544 commit 1c4e091
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ jobs:
swiftlint:
name: SwiftLint
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2
markdown_link_check:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ SPDX-License-Identifier: MIT
[![Build and Test](https://github.com/StanfordSpezi/SpeziDevices/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/StanfordSpezi/SpeziDevices/actions/workflows/build-and-test.yml)
[![codecov](https://codecov.io/gh/StanfordSpezi/SpeziDevices/graph/badge.svg?token=pZeJyWYhAk)](https://codecov.io/gh/StanfordSpezi/SpeziDevices)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12627487.svg)](https://doi.org/10.5281/zenodo.12627487)
<!-- TODO: SPI BADGES-->
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordSpezi%2FSpeziDevices%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/StanfordSpezi/SpeziDevices)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordSpezi%2FSpeziDevices%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/StanfordSpezi/SpeziDevices)

Support interactions with Bluetooth Devices.

Expand Down
2 changes: 1 addition & 1 deletion Sources/SpeziDevices/PairedDevices.swift
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ extension PairedDevices {
await device.connect()

let id = device.id
let timeoutHandler = { @MainActor in
let timeoutHandler = { @Sendable @MainActor in
_ = self.ongoingPairings.removeValue(forKey: id)?.signalTimeout()
}

Expand Down
2 changes: 1 addition & 1 deletion Tests/SpeziOmronTests/SpeziOmronTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ final class SpeziOmronTests: XCTestCase {
}


extension MockDevice: OmronHealthDevice {}
extension MockDevice: @retroactive OmronHealthDevice {}

Check failure on line 186 in Tests/SpeziOmronTests/SpeziOmronTests.swift

View workflow job for this annotation

GitHub Actions / Build and Test Swift Package iOS / Test using xcodebuild or run fastlane

unknown attribute 'retroactive'

Check failure on line 186 in Tests/SpeziOmronTests/SpeziOmronTests.swift

View workflow job for this annotation

GitHub Actions / Build and Test Swift Package iOS / Test using xcodebuild or run fastlane

inheritance from non-protocol type 'any OmronHealthDevice'

0 comments on commit 1c4e091

Please sign in to comment.