Skip to content

Add app description to README #6

Add app description to README

Add app description to README #6

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build and Test
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
- name: Show Xcode version
run: xcodebuild -version
- name: List available simulators
run: xcrun simctl list devices available
- name: Build
run: |
xcodebuild build \
-project "Stay Tuned/Stay Tuned.xcodeproj" \
-scheme "Stay Tuned" \
-destination "platform=iOS Simulator,name=iPhone 16" \
-configuration Debug \
CODE_SIGNING_ALLOWED=NO \
| xcpretty --color
- name: Run Unit Tests
run: |
xcodebuild test \
-project "Stay Tuned/Stay Tuned.xcodeproj" \
-scheme "Stay Tuned" \
-destination "platform=iOS Simulator,name=iPhone 16" \
-configuration Debug \
CODE_SIGNING_ALLOWED=NO \
-resultBundlePath TestResults.xcresult \
| xcpretty --color --report junit --output test-results.xml
- name: Upload Test Results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: |
test-results.xml
TestResults.xcresult
if-no-files-found: ignore
retention-days: 30
lint:
name: Swift Lint
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install SwiftLint
run: brew install swiftlint
- name: Run SwiftLint
run: swiftlint lint --reporter github-actions-logging "Stay Tuned/Stay Tuned"