diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 8a33302..779b3ab 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -16,42 +16,28 @@ on: workflow_dispatch: jobs: - packageios: - name: Build and Test Swift Package iOS + buildandtest: + name: Build and Test Swift Package uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 with: + runsonlabels: '["macOS", "self-hosted"]' scheme: OMHModels artifactname: OMHModels.xcresult - packagewatchos: - name: Build and Test Swift Package watchOS + buildandtestlatest: + name: Build and Test Swift Package Latest uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 with: + runsonlabels: '["macOS", "self-hosted"]' scheme: OMHModels - resultBundle: OMHModelsWatchOS.xcresult - destination: 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' - artifactname: OMHModelsWatchOS.xcresult - packagevisionos: - name: Build and Test Swift Package visionOS - uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 - with: xcodeversion: latest - scheme: OMHModels - resultBundle: OMHModelsVisionOS.xcresult - destination: 'platform=visionOS Simulator,name=Apple Vision Pro' - artifactname: OMHModelsVisionOS.xcresult - codeql: - name: CodeQL - uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 - with: - codeql: true - xcodeversion: '14.3.1' - scheme: OMHModels - permissions: - security-events: write - actions: read + swiftVersion: 6 + resultBundle: OMHModelsLatest.xcresult + artifactname: OMHModelsLatest.xcresult uploadcoveragereport: name: Upload Coverage Report - needs: [packageios, packagewatchos, packagevisionos] + needs: [buildandtest] uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 with: - coveragereports: OMHModels.xcresult OMHModelsWatchOS.xcresult OMHModelsVisionOS.xcresult + coveragereports: OMHModels.xcresult + secrets: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 85592a2..43cb770 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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