Skip to content

Merge pull request #20 from hironaka-iori/main #115

Merge pull request #20 from hironaka-iori/main

Merge pull request #20 from hironaka-iori/main #115

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Install SwiftLint and SwiftFormat
run: brew install swiftlint swiftformat
- name: SwiftFormat
run: swiftformat --lint .
- name: SwiftLint
run: swiftlint
build:
name: Build
runs-on: macos-26
needs: lint
steps:
- uses: actions/checkout@v4
- name: Create local configuration
run: cp Outspire/Configurations.local.swift.example Outspire/Configurations.local.swift
- name: Select Xcode
run: sudo xcode-select --switch /Applications/Xcode_26.3.app/Contents/Developer
- name: Build
run: |
xcodebuild \
-project Outspire.xcodeproj \
-scheme "Outspire" \
-destination 'generic/platform=iOS Simulator' \
-skipPackagePluginValidation \
build