Skip to content

Add website link in Settings (About section) #23

Add website link in Settings (About section)

Add website link in Settings (About section) #23

Workflow file for this run

name: CI
on:
# Only fires the actual job when a PR carries the `run-ci` label, or when
# someone manually clicks "Run workflow", keeps macOS minutes from being
# burned on every push.
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: ci
runs-on: macos-15
if: >-
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'run-ci')
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Show toolchain
run: |
xcodebuild -version
swift --version
- name: Install XcodeGen
run: brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate --quiet
- name: swift-format lint
run: xcrun swift-format lint --strict --recursive --configuration .swift-format Sources Tests
- name: Resolve packages
run: |
xcodebuild -resolvePackageDependencies \
-project YouMenuTube.xcodeproj \
-scheme YouMenuTube
- name: Build
run: |
xcodebuild \
-project YouMenuTube.xcodeproj \
-scheme YouMenuTube \
-configuration Debug \
-destination 'platform=macOS' \
CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO \
build
- name: Test
run: |
set -o pipefail
xcodebuild \
-project YouMenuTube.xcodeproj \
-scheme YouMenuTube \
-destination 'platform=macOS' \
CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO \
test