From f6591f3782299d45ada33e2466167e55389a423a Mon Sep 17 00:00:00 2001 From: Randall Wood <297232+rhwood@users.noreply.github.com> Date: Sun, 26 Dec 2021 06:38:03 -0500 Subject: [PATCH] chore: Avoid shallow clone and readme badges (#11) --- .github/workflows/swift.yml | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) 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).