From f50a5b86fa20aa52c3e0894193e2aaf6b1d5deb2 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Mon, 19 Aug 2024 14:45:25 -0700 Subject: [PATCH] Update GitHub Actions (#30) # Update GitHub Actions ## :recycle: Current situation & Problem - Missing Relevant GitHub Actions ## :gear: Release Notes - Adds GitHub Actions - Builds for Swift 6 ## :pencil: Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md). --- .github/workflows/build-and-test.yml | 10 ++++++++++ .../workflows/monthly-markdown-link-check.yml | 19 +++++++++++++++++++ .github/workflows/pull_request.yml | 3 +++ 3 files changed, 32 insertions(+) create mode 100644 .github/workflows/monthly-markdown-link-check.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5c6aef6..4fd05af 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -23,6 +23,16 @@ jobs: artifactname: SpeziContact.xcresult runsonlabels: '["macOS", "self-hosted"]' scheme: SpeziContact + buildandtestlatest: + name: Build and Test Swift Package iOS Latest + uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + runsonlabels: '["macOS", "self-hosted"]' + xcodeversion: latest + swiftVersion: 6 + scheme: SpeziContact + resultBundle: SpeziContactLatest.xcresult + artifactname: SpeziContactLatest.xcresult buildandtestuitests: name: Build and Test UI Tests uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 diff --git a/.github/workflows/monthly-markdown-link-check.yml b/.github/workflows/monthly-markdown-link-check.yml new file mode 100644 index 0000000..9a2d1f2 --- /dev/null +++ b/.github/workflows/monthly-markdown-link-check.yml @@ -0,0 +1,19 @@ +# +# This source file is part of the Stanford Spezi open source project +# +# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +name: Monthly Markdown Link Check + +on: + # Runs at midnight on the first of every month + schedule: + - cron: "0 0 1 * *" + +jobs: + markdown_link_check: + name: Markdown Link Check + uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index eb53387..5a7d62c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,3 +19,6 @@ jobs: swiftlint: name: SwiftLint uses: StanfordSpezi/.github/.github/workflows/swiftlint.yml@v2 + markdown_link_check: + name: Markdown Link Check + uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2