diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 5d27472..bb0efce 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -24,6 +24,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 50 - name: Build # Using swift would be preferred, but using xcodebuild as it allows # the specification of variants, which the swift command does not diff --git a/README.md b/README.md index 3fbcc03..da557d2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # WMATAUI [![Swift](https://github.com/rhwood/WMATAUI.swift/actions/workflows/swift.yml/badge.svg)](https://github.com/rhwood/WMATAUI.swift/actions/workflows/swift.yml) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rhwood_WMATAUI.swift&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rhwood_WMATAUI.swift) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rhwood_WMATAUI.swift&metric=coverage)](https://sonarcloud.io/summary/new_code?id=rhwood_WMATAUI.swift) SwiftUI to accompany [WMATA.swift](https://github.com/emma-k-alexandra/WMATA.swift).